Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_cmd_line_script.py228 pyc_file = support.make_legacy_pyc(script_name)
229 self._check_script(pyc_file, pyc_file,
230 pyc_file, script_dir, None,
245 pyc_file = support.make_legacy_pyc(script_name)
246 self._check_script(script_dir, pyc_file, script_dir,
319 pyc_file = support.make_legacy_pyc(script_name)
320 self._check_script(["-m", "test_pkg"], pyc_file,
321 pyc_file, script_dir, 'test_pkg',
Dtest_multiprocessing_main_handling.py200 pyc_file = support.make_legacy_pyc(script_name)
201 self._check_script(pyc_file)
217 pyc_file = support.make_legacy_pyc(script_name)
277 pyc_file = support.make_legacy_pyc(script_name)
Dtest_zipimport.py59 pyc_file = importlib.util.cache_from_source(TESTMOD + '.py') variable
/external/python/cpython3/Lib/test/test_import/
D__init__.py592 pyc_file = make_legacy_pyc(self.file_name)
595 self.assertEqual(mod.module_filename, pyc_file)
810 pyc_file = importlib.util.cache_from_source(self.source)
811 self.assertTrue(os.path.exists(pyc_file))
825 pyc_file = make_legacy_pyc(self.source)
832 os.path.join(os.curdir, os.path.relpath(pyc_file)))
834 os.remove(pyc_file)
839 pyc_file = importlib.util.cache_from_source(TESTFN + '.py')
840 self.assertEqual(m.__cached__, os.path.join(os.curdir, pyc_file))
850 pyc_file = make_legacy_pyc(self.source)
[all …]
/external/python/cpython3/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))
/external/python/cpython3/Lib/test/support/
D__init__.py442 pyc_file = importlib.util.cache_from_source(source)
445 os.rename(pyc_file, legacy_pyc)