Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_compileall.py243 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 …]
Dtest_zipimport_support.py17 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)
Dtest_multiprocessing_main_handling.py15 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)
Dtest_eof.py52 file_name = script_helper.make_script(temp_dir, 'foo', '\\')
58 file_name = script_helper.make_script(temp_dir, 'foo', 'y = 6\\')
Dtest_cmd_line_script.py18 make_pkg, make_script, make_zip_pkg, make_zip_script,
79 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
739 make_script(script_dir, 'gctest', module)
Dtest__xxsubinterpreters.py1059 filename = script_helper.make_script(dirname, 'interp', script)
/external/python/cpython2/Lib/test/
Dtest_zipimport_support.py18 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)
Dtest_cmd_line_script.py9 temp_dir, make_script, compile_script,
44 return make_script(script_dir, script_basename, source)
67 return make_script(script_dir, script_basename, source)
Dtest_runpy.py9 from test.script_helper import (temp_dir, make_script, compile_script,
336 return make_script(script_dir, script_basename, source)
Dtest_import.py315 testfn = script_helper.make_script('', TESTFN, textwrap.dedent("""\
/external/python/cpython2/Lib/test/support/
Dscript_helper.py106 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/
Dscript_helper.py201 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__.py53 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/
Dtest.rst1573 .. function:: make_script(script_dir, script_basename, source, omit_suffix=False)