(self)
| 27 | |
| 28 | class TestCache(unittest.TestCase): |
| 29 | def test_basic(self): |
| 30 | cache = CustomCache() |
| 31 | self.assertEqual(cache(1), 1) |
| 32 | self.assertEqual(cache(1), 1) |
| 33 | |
| 34 | def test_int_collision(self): |
| 35 | cache = CustomCache() |
nothing calls this directly
no test coverage detected