Lines Matching refs:test_src
76 test_src = "def foo(): pass\n"
78 init_name = make_script(d, '__init__', test_src)
86 self.assertEqual(inspect.getsource(zip_pkg.foo), test_src)
94 test_src = inspect.getsource(test_doctest)
95 test_src = test_src.replace(
98 test_src = test_src.replace("test.test_doctest",
100 test_src = test_src.replace("test.sample_doctest",
107 test_src)
183 test_src = textwrap.dedent("""\
193 script_name = make_script(d, 'script', test_src)
212 test_src = textwrap.dedent("""\
220 script_name = make_script(d, 'script', test_src)