/external/python/cpython3/Lib/test/ |
D | test_compileall.py | 243 script_helper.make_script(path, "__init__", "") 244 mods.append(script_helper.make_script(path, "mod", 280 script = script_helper.make_script(path, "test", "1 / 0") 299 script = script_helper.make_script(path, "test", "1 / 0") 314 script = script_helper.make_script(path, "test", "1 / 0") 335 script_helper.make_script(path, "test", "1 / 0") 341 script = script_helper.make_script(self.directory, 370 allowed_script = script_helper.make_script(allowed_path, "test_allowed", "a = 0") 371 prohibited_script = script_helper.make_script(prohibited_path, "test_prohibited", "a = 0") 485 self.initfn = script_helper.make_script(self.pkgdir, '__init__', '') [all …]
|
D | test_zipimport_support.py | 17 make_script, make_zip_script) 81 init_name = make_script(d, '__init__', test_src) 121 script_name = make_script(d, 'test_zipped_doctest', 196 script_name = make_script(d, 'script', test_src) 223 script_name = make_script(d, 'script', test_src)
|
D | test_multiprocessing_main_handling.py | 15 make_pkg, make_script, make_zip_pkg, make_zip_script, 111 to_return = make_script(script_dir, script_basename, 115 make_script(script_dir, "sibling", "") 142 to_return = make_script(script_dir, script_basename, source)
|
D | test_eof.py | 52 file_name = script_helper.make_script(temp_dir, 'foo', '\\') 58 file_name = script_helper.make_script(temp_dir, 'foo', 'y = 6\\')
|
D | test_cmd_line_script.py | 18 make_pkg, make_script, make_zip_pkg, make_zip_script, 79 to_return = make_script(script_dir, script_basename, source)
|
D | test_runpy.py | 18 from test.support.script_helper import make_script, make_zip_script 600 return make_script(script_dir, script_basename,
|
D | test_gc.py | 7 from test.support.script_helper import assert_python_ok, make_script 739 make_script(script_dir, 'gctest', module)
|
D | test__xxsubinterpreters.py | 1059 filename = script_helper.make_script(dirname, 'interp', script)
|
/external/python/cpython2/Lib/test/ |
D | test_zipimport_support.py | 18 temp_dir, make_script, make_zip_script) 79 init_name = make_script(d, '__init__', test_src) 116 script_name = make_script(d, 'test_zipped_doctest', 205 script_name = make_script(d, 'script', test_src) 232 script_name = make_script(d, 'script', test_src)
|
D | test_cmd_line_script.py | 9 temp_dir, make_script, compile_script, 44 return make_script(script_dir, script_basename, source) 67 return make_script(script_dir, script_basename, source)
|
D | test_runpy.py | 9 from test.script_helper import (temp_dir, make_script, compile_script, 336 return make_script(script_dir, script_basename, source)
|
D | test_import.py | 315 testfn = script_helper.make_script('', TESTFN, textwrap.dedent("""\
|
/external/python/cpython2/Lib/test/support/ |
D | script_helper.py | 106 def make_script(script_dir, script_basename, source): function 139 make_script(pkg_dir, '__init__', init_source) 144 init_name = make_script(zip_dir, '__init__', '') 147 script_name = make_script(zip_dir, script_basename, source)
|
/external/python/cpython3/Lib/test/support/ |
D | script_helper.py | 201 def make_script(script_dir, script_basename, source, omit_suffix=False): function 233 make_script(pkg_dir, '__init__', init_source) 238 init_name = make_script(zip_dir, '__init__', '') 241 script_name = make_script(zip_dir, script_basename, source)
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 53 path = script_helper.make_script(tempdir, name, source) 354 testfn = script_helper.make_script('', TESTFN, textwrap.dedent("""\ 1276 pyname = script_helper.make_script('', TESTFN_UNENCODABLE, 'pass')
|
/external/python/cpython3/Doc/library/ |
D | test.rst | 1573 .. function:: make_script(script_dir, script_basename, source, omit_suffix=False)
|