(self)
| 70 | "Mismatched file to shallow identical file compares as equal") |
| 71 | |
| 72 | def test_cache_clear(self): |
| 73 | first_compare = filecmp.cmp(self.name, self.name_same, shallow=False) |
| 74 | second_compare = filecmp.cmp(self.name, self.name_diff, shallow=False) |
| 75 | filecmp.clear_cache() |
| 76 | self.assertTrue(len(filecmp._cache) == 0, |
| 77 | "Cache not cleared after calling clear_cache") |
| 78 | |
| 79 | class DirCompareTestCase(unittest.TestCase): |
| 80 | def setUp(self): |
nothing calls this directly
no test coverage detected