(self)
| 892 | self.assertEqual(gc.get_freeze_count(), 0) |
| 893 | |
| 894 | def test_get_objects(self): |
| 895 | gc.collect() |
| 896 | l = [] |
| 897 | l.append(l) |
| 898 | self.assertTrue( |
| 899 | any(l is element for element in gc.get_objects()) |
| 900 | ) |
| 901 | |
| 902 | @requires_gil_enabled('need generational GC') |
| 903 | def test_get_objects_generations(self): |
nothing calls this directly
no test coverage detected