(self)
| 230 | self.assertTrue(os.path.isfile(cached3)) |
| 231 | |
| 232 | def test_compile_dir_pathlike(self): |
| 233 | self.assertFalse(os.path.isfile(self.bc_path)) |
| 234 | with support.captured_stdout() as stdout: |
| 235 | compileall.compile_dir(FakePath(self.directory)) |
| 236 | line = stdout.getvalue().splitlines()[0] |
| 237 | self.assertRegex(line, r'Listing ([^WindowsPath|PosixPath].*)') |
| 238 | self.assertTrue(os.path.isfile(self.bc_path)) |
| 239 | |
| 240 | def test_compile_dir_pathlike_stripdir(self): |
| 241 | self.assertFalse(os.path.isfile(self.bc_path)) |
nothing calls this directly
no test coverage detected