Lines Matching full:source_path
57 self.source_path = os.path.join(self.directory, '_test.py')
58 self.bc_path = importlib.util.cache_from_source(self.source_path)
59 with open(self.source_path, 'w', encoding="utf-8") as file:
63 shutil.copyfile(self.source_path, self.source_path2)
67 shutil.copyfile(self.source_path, self.source_path3)
80 mtime = int(os.stat(self.source_path).st_mtime)
89 os.utime(self.source_path, (2**32 - 1, 2**32 - 1))
93 self.assertTrue(compileall.compile_file(self.source_path))
99 os.utime(self.source_path, (2**35, 2**35))
103 self.assertTrue(compileall.compile_file(self.source_path))
110 py_compile.compile(self.source_path)
137 self.assertTrue(compileall.compile_file(self.source_path,
159 self.assertTrue(compileall.compile_file(pathlib.Path(self.source_path)))
165 self.assertTrue(compileall.compile_file(pathlib.Path(self.source_path),
172 self.assertTrue(compileall.compile_file(pathlib.Path(self.source_path),
179 self.assertTrue(compileall.compile_file(pathlib.Path(self.source_path),
218 cached = importlib.util.cache_from_source(self.source_path,
290 shutil.copyfile(self.source_path, source)
474 self.source_path = os.path.join(self.directory, '_test.py')
475 with open(self.source_path, 'w', encoding='utf-8') as file: