Lines Matching full:source_path
59 self.source_path = os.path.join(self.directory, '_test.py')
60 self.bc_path = importlib.util.cache_from_source(self.source_path)
61 with open(self.source_path, 'w', encoding="utf-8") as file:
65 shutil.copyfile(self.source_path, self.source_path2)
69 shutil.copyfile(self.source_path, self.source_path3)
82 mtime = int(os.stat(self.source_path).st_mtime)
91 os.utime(self.source_path, (2**32 - 1, 2**32 - 1))
95 self.assertTrue(compileall.compile_file(self.source_path))
101 os.utime(self.source_path, (2**35, 2**35))
105 self.assertTrue(compileall.compile_file(self.source_path))
112 py_compile.compile(self.source_path)
139 self.assertTrue(compileall.compile_file(self.source_path,
161 self.assertTrue(compileall.compile_file(pathlib.Path(self.source_path)))
167 self.assertTrue(compileall.compile_file(pathlib.Path(self.source_path),
206 cached = importlib.util.cache_from_source(self.source_path,
263 shutil.copyfile(self.source_path, source)
442 self.source_path = os.path.join(self.directory, '_test.py')
443 with open(self.source_path, 'w', encoding='utf-8') as file: