Home
last modified time | relevance | path

Searched refs:pyc_path (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_py_compile.py15 self.pyc_path = self.source_path + 'c'
34 py_compile.compile(self.source_path, self.pyc_path)
35 self.assertTrue(os.path.exists(self.pyc_path))
40 os.path.basename(self.pyc_path))
41 self.assertTrue(os.path.exists(self.pyc_path))
45 os.path.relpath(self.pyc_path))
46 self.assertTrue(os.path.exists(self.pyc_path))
/external/python/cpython3/Lib/test/
Dtest_py_compile.py58 self.pyc_path = self.source_path + 'c'
77 py_compile.compile(self.source_path, self.pyc_path)
78 self.assertTrue(os.path.exists(self.pyc_path))
85 os.symlink(self.pyc_path + '.actual', self.pyc_path)
89 assert os.path.islink(self.pyc_path)
91 py_compile.compile(self.source_path, self.pyc_path)
108 os.path.basename(self.pyc_path))
109 self.assertTrue(os.path.exists(self.pyc_path))
114 os.path.relpath(self.pyc_path))
115 self.assertTrue(os.path.exists(self.pyc_path))
[all …]
/external/chromium-trace/
Dsystrace.py30 pyc_path = os.path.join(dirname, filename)
35 os.remove(pyc_path)
/external/python/cpython3/Lib/test/test_import/
D__init__.py859 pyc_path = importlib.util.cache_from_source(self.source)
860 self.assertTrue(os.path.exists(pyc_path),
862 'exist'.format(pyc_path, TESTFN))
875 pyc_path = importlib.util.cache_from_source(self.source)
876 self.assertFalse(os.path.exists(pyc_path),
878 'exists'.format(pyc_path, TESTFN))
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py122 def get_code_from_pyc(pyc_path): argument
127 with open(pyc_path, 'rb') as pyc_f: