(self)
| 186 | self.assertTrue(os.path.isfile(self.bc_path)) |
| 187 | |
| 188 | def test_compile_path(self): |
| 189 | with test.test_importlib.util.import_state(path=[self.directory]): |
| 190 | self.assertTrue(compileall.compile_path(quiet=2)) |
| 191 | |
| 192 | with test.test_importlib.util.import_state(path=[self.directory]): |
| 193 | self.add_bad_source_file() |
| 194 | self.assertFalse(compileall.compile_path(skip_curdir=False, |
| 195 | force=True, quiet=2)) |
| 196 | |
| 197 | def test_no_pycache_in_non_package(self): |
| 198 | # Bug 8563 reported that __pycache__ directories got created by |
nothing calls this directly
no test coverage detected