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