Lines Matching refs:garbage
170 for obj in gc.garbage:
176 gc.garbage.remove(obj)
196 for obj in gc.garbage:
202 gc.garbage.remove(obj)
229 self.assertEqual(gc.garbage, [])
241 self.assertEqual(len(gc.garbage), 1)
242 obj = gc.garbage.pop()
421 garbagelen = len(gc.garbage)
431 self.assertEqual(len(gc.garbage), garbagelen)
450 garbagelen = len(gc.garbage)
458 self.assertEqual(len(gc.garbage), garbagelen)
475 garbagelen = len(gc.garbage)
478 self.assertEqual(len(gc.garbage), garbagelen)
497 garbagelen = len(gc.garbage)
500 self.assertEqual(len(gc.garbage), garbagelen)
780 for obj in gc.garbage:
783 del gc.garbage[:]
793 garbage, gc.garbage[:] = gc.garbage[:], []
794 self.othergarbage.append(garbage)
804 uc = [e for e in gc.garbage if isinstance(e, Uncollectable)]
805 gc.garbage[:] = [e for e in gc.garbage
861 self.assertEqual(len(gc.garbage), 4)
862 for e in gc.garbage:
868 gc.garbage[:] = []
878 self.assertEqual(len(gc.garbage), 0)