Home
last modified time | relevance | path

Searched refs:make_script (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Lib/test/
Dtest_compileall.py280 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 …]
Dtest_eof.py35 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\\')
Dtest_zipimport_support.py18 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)
Dtest_multiprocessing_main_handling.py17 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)
Dtest_cmd_line_script.py20 make_pkg, make_script, make_zip_pkg, make_zip_script,
81 to_return = make_script(script_dir, script_basename, source)
Dtest_runpy.py18 from test.support.script_helper import make_script, make_zip_script
600 return make_script(script_dir, script_basename,
Dtest_gc.py7 from test.support.script_helper import assert_python_ok, make_script
740 make_script(script_dir, 'gctest', module)
Dtest__xxsubinterpreters.py1064 filename = script_helper.make_script(dirname, 'interp', script)
/third_party/python/Lib/test/support/
Dscript_helper.py209 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__.py54 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/
Dtest.rst1150 .. function:: make_script(script_dir, script_basename, source, omit_suffix=False)