Searched refs:compiled_name (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_cmd_line_script.py | 109 compiled_name = compile_script(script_name) 111 self._check_script(compiled_name, compiled_name, compiled_name, None) 121 compiled_name = compile_script(script_name) 123 self._check_script(script_dir, compiled_name, script_dir, '') 139 compiled_name = compile_script(script_name) 140 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 184 compiled_name = compile_script(script_name) 187 self._check_script(launch_name, compiled_name, 188 compiled_name, 'test_pkg')
|
D | test_runpy.py | 362 compiled_name = compile_script(script_name) 364 self._check_script(compiled_name, "<run_path>", compiled_name, 365 compiled_name, None) 378 compiled_name = compile_script(script_name) 380 self._check_script(script_dir, "<run_path>", compiled_name, 401 compiled_name = compile_script(script_name) 402 zip_name, fname = make_zip_script(script_dir, 'test_zip', compiled_name)
|
D | test_import.py | 443 compiled_name = file_name + ("c" if __debug__ else "o") variable in PycRewritingTests 460 unlink(self.compiled_name) 476 self.assertEqual(mod.module_filename, self.compiled_name) 483 self.assertEqual(mod.module_filename, self.compiled_name) 492 self.assertEqual(mod.module_filename, self.compiled_name) 498 with open(self.compiled_name, "rb") as f: 510 with open(self.compiled_name, "wb") as f:
|
/external/python/cpython2/Lib/test/support/ |
D | script_helper.py | 117 compiled_name = script_name + 'c' 119 compiled_name = script_name + 'o' 120 return compiled_name
|
/external/python/cpython3/Lib/test/ |
D | test_multiprocessing_main_handling.py | 233 compiled_name = py_compile.compile(script_name, doraise=True) 234 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 275 compiled_name = py_compile.compile(script_name, doraise=True)
|
D | test_cmd_line_script.py | 278 compiled_name = py_compile.compile( 281 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 288 compiled_name = py_compile.compile( 291 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 298 compiled_name = py_compile.compile( 301 zip_name, run_name = make_zip_script(script_dir, 'test_zip', compiled_name) 352 compiled_name = py_compile.compile(script_name, doraise=True)
|
D | test_runpy.py | 679 compiled_name = py_compile.compile(script_name, doraise=True) 681 self._check_script(compiled_name, "<run_path>", compiled_name, 682 compiled_name, expect_spec=False) 695 compiled_name = py_compile.compile(script_name, doraise=True) 721 compiled_name = py_compile.compile(script_name, doraise=True) 723 compiled_name)
|
/external/python/cpython3/Lib/test/test_import/ |
D | __init__.py | 619 compiled_name = importlib.util.cache_from_source(file_name) variable in PycRewritingTests 637 unlink(self.compiled_name) 676 with open(self.compiled_name, "rb") as f: 684 with open(self.compiled_name, "wb") as f:
|