Home | History | Annotate | Download | only in test

Lines Matching refs:gc

3 import gc
89 gc.collect()
90 gc.collect()
91 self.assertFalse(gc.is_tracked(t), t)
94 self.assertTrue(gc.is_tracked(t), t)
95 gc.collect()
96 gc.collect()
97 self.assertTrue(gc.is_tracked(t), t)
101 # Test GC-optimization of tuple literals
142 # Test GC-optimization of dynamically constructed tuples.
155 self._not_tracked(tuple(gc.collect() for i in range(101)))