Searched refs:pyc_path (Results 1 – 3 of 3) sorted by relevance
58 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 …]
861 pyc_path = importlib.util.cache_from_source(self.source)862 self.assertTrue(os.path.exists(pyc_path),864 'exist'.format(pyc_path, TESTFN))877 pyc_path = importlib.util.cache_from_source(self.source)878 self.assertFalse(os.path.exists(pyc_path),880 'exists'.format(pyc_path, TESTFN))
124 def get_code_from_pyc(pyc_path): argument129 with open(pyc_path, 'rb') as pyc_f: