(self)
| 103 | self.assertTrue(os.path.exists(self.cache_path)) |
| 104 | |
| 105 | def test_cwd(self): |
| 106 | with os_helper.change_cwd(self.directory): |
| 107 | py_compile.compile(os.path.basename(self.source_path), |
| 108 | os.path.basename(self.pyc_path)) |
| 109 | self.assertTrue(os.path.exists(self.pyc_path)) |
| 110 | self.assertFalse(os.path.exists(self.cache_path)) |
| 111 | |
| 112 | @unittest.expectedFailureIf(sys.platform == "darwin" and int(__import__("platform").release().split(".")[0]) < 20, "TODO: RUSTPYTHON") |
| 113 | def test_relative_path(self): |
nothing calls this directly
no test coverage detected