Home
last modified time | relevance | path

Searched refs:pyc_file (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Lib/test/
Dtest_multiprocessing_main_handling.py202 pyc_file = import_helper.make_legacy_pyc(script_name)
203 self._check_script(pyc_file)
219 pyc_file = import_helper.make_legacy_pyc(script_name)
279 pyc_file = import_helper.make_legacy_pyc(script_name)
Dtest_cmd_line_script.py243 pyc_file = import_helper.make_legacy_pyc(script_name)
244 self._check_script(pyc_file, pyc_file,
245 pyc_file, script_dir, None,
260 pyc_file = import_helper.make_legacy_pyc(script_name)
261 self._check_script(script_dir, pyc_file, script_dir,
356 pyc_file = import_helper.make_legacy_pyc(script_name)
357 self._check_script(["-m", "test_pkg"], pyc_file,
358 pyc_file, script_dir, 'test_pkg',
Dtest_zipimport.py58 pyc_file = importlib.util.cache_from_source(TESTMOD + '.py') variable
/third_party/python/Lib/distutils/tests/
Dtest_install_lib.py47 pyc_file = importlib.util.cache_from_source('foo.py', optimization='')
50 self.assertTrue(os.path.exists(pyc_file))
/third_party/python/Lib/test/support/
Dimport_helper.py58 pyc_file = importlib.util.cache_from_source(source)
61 os.rename(pyc_file, legacy_pyc)
/third_party/python/Lib/test/test_import/
D__init__.py668 pyc_file = make_legacy_pyc(self.file_name)
671 self.assertEqual(mod.module_filename, pyc_file)
887 pyc_file = importlib.util.cache_from_source(self.source)
888 self.assertTrue(os.path.exists(pyc_file))
902 pyc_file = make_legacy_pyc(self.source)
909 os.path.join(os.getcwd(), os.curdir, os.path.relpath(pyc_file)))
911 os.remove(pyc_file)
916 pyc_file = importlib.util.cache_from_source(TESTFN + '.py')
917 self.assertEqual(m.__cached__, os.path.join(os.getcwd(), os.curdir, pyc_file))
927 pyc_file = make_legacy_pyc(self.source)
[all …]