(self)
| 99 | self.assertEqual(gc.collect(), 1) |
| 100 | |
| 101 | def test_dict(self): |
| 102 | d = {} |
| 103 | d[1] = d |
| 104 | gc.collect() |
| 105 | del d |
| 106 | self.assertEqual(gc.collect(), 1) |
| 107 | |
| 108 | def test_tuple(self): |
| 109 | # since tuples are immutable we close the loop with a list |
nothing calls this directly
no test coverage detected