(self)
| 92 | |
| 93 | class GCTests(unittest.TestCase): |
| 94 | def test_list(self): |
| 95 | l = [] |
| 96 | l.append(l) |
| 97 | gc.collect() |
| 98 | del l |
| 99 | self.assertEqual(gc.collect(), 1) |
| 100 | |
| 101 | def test_dict(self): |
| 102 | d = {} |
nothing calls this directly
no test coverage detected