Searched refs:make_script (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Lib/test/ |
D | test_compileall.py | 280 script_helper.make_script(path, "__init__", "") 281 mods.append(script_helper.make_script(path, "mod", 317 script = script_helper.make_script(path, "test", "1 / 0") 336 script = script_helper.make_script(path, "test", "1 / 0") 351 script = script_helper.make_script(path, "test", "1 / 0") 372 script_helper.make_script(path, "test", "1 / 0") 378 script = script_helper.make_script(self.directory, 407 allowed_script = script_helper.make_script(allowed_path, "test_allowed", "a = 0") 408 prohibited_script = script_helper.make_script(prohibited_path, "test_prohibited", "a = 0") 521 self.initfn = script_helper.make_script(self.pkgdir, '__init__', '') [all …]
|
D | test_eof.py | 35 file_name = script_helper.make_script(temp_dir, 'foo', """'''this is \na \ntest""") 62 file_name = script_helper.make_script(temp_dir, 'foo', '\\') 68 file_name = script_helper.make_script(temp_dir, 'foo', 'y = 6\\')
|
D | test_zipimport_support.py | 18 make_script, make_zip_script) 82 init_name = make_script(d, '__init__', test_src) 122 script_name = make_script(d, 'test_zipped_doctest', 197 script_name = make_script(d, 'script', test_src) 224 script_name = make_script(d, 'script', test_src)
|
D | test_multiprocessing_main_handling.py | 17 make_pkg, make_script, make_zip_pkg, make_zip_script, 113 to_return = make_script(script_dir, script_basename, 117 make_script(script_dir, "sibling", "") 144 to_return = make_script(script_dir, script_basename, source)
|
D | test_cmd_line_script.py | 20 make_pkg, make_script, make_zip_pkg, make_zip_script, 81 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 740 make_script(script_dir, 'gctest', module)
|
D | test__xxsubinterpreters.py | 1064 filename = script_helper.make_script(dirname, 'interp', script)
|
/third_party/python/Lib/test/support/ |
D | script_helper.py | 209 def make_script(script_dir, script_basename, source, omit_suffix=False): function 243 make_script(pkg_dir, '__init__', init_source) 249 init_name = make_script(zip_dir, '__init__', '') 252 script_name = make_script(zip_dir, script_basename, source)
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 54 path = script_helper.make_script(tempdir, name, source) 355 testfn = script_helper.make_script('', TESTFN, textwrap.dedent("""\ 1278 pyname = script_helper.make_script('', TESTFN_UNENCODABLE, 'pass')
|
/third_party/python/Doc/library/ |
D | test.rst | 1150 .. function:: make_script(script_dir, script_basename, source, omit_suffix=False)
|