Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_compileall.py297 self.initfn = script_helper.make_script(self.pkgdir, '__init__', '')
298 self.barfn = script_helper.make_script(self.pkgdir, 'bar', '')
303 bazfn = script_helper.make_script(self.directory, 'baz', '')
312 bazfn = script_helper.make_script(self.directory, 'baz', '')
329 script_helper.make_script(self.directory, 'baz', '')
397 subinitfn = script_helper.make_script(subpackage, '__init__', '')
398 hamfn = script_helper.make_script(subpackage, 'ham', '')
414 hamfn = script_helper.make_script(subpackage, 'ham', '')
415 spamfn = script_helper.make_script(subpackage2, 'spam', '')
416 eggfn = script_helper.make_script(subpackage3, 'egg', '')
[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',
198 script_name = make_script(d, 'script', test_src)
225 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_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.py15 make_pkg, make_script, make_zip_pkg, make_zip_script)
598 return make_script(script_dir, script_basename,
Dtest_gc.py5 from test.support.script_helper import assert_python_ok, make_script
707 make_script(script_dir, 'gctest', module)
/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.py202 def make_script(script_dir, script_basename, source, omit_suffix=False): function
237 make_script(pkg_dir, '__init__', init_source)
242 init_name = make_script(zip_dir, '__init__', '')
245 script_name = make_script(zip_dir, script_basename, source)
/external/python/cpython3/Lib/test/test_import/
D__init__.py52 path = script_helper.make_script(tempdir, name, source)
332 testfn = script_helper.make_script('', TESTFN, textwrap.dedent("""\
1201 pyname = script_helper.make_script('', TESTFN_UNENCODABLE, 'pass')
/external/python/cpython3/Doc/library/
Dtest.rst1379 .. function:: make_script(script_dir, script_basename, source, omit_suffix=False)