Lines Matching refs:garbage
187 for obj in gc.garbage:
193 gc.garbage.remove(obj)
213 for obj in gc.garbage:
219 gc.garbage.remove(obj)
246 self.assertEqual(gc.garbage, [])
258 self.assertEqual(len(gc.garbage), 1)
259 obj = gc.garbage.pop()
438 garbagelen = len(gc.garbage)
448 self.assertEqual(len(gc.garbage), garbagelen)
467 garbagelen = len(gc.garbage)
475 self.assertEqual(len(gc.garbage), garbagelen)
492 garbagelen = len(gc.garbage)
495 self.assertEqual(len(gc.garbage), garbagelen)
514 garbagelen = len(gc.garbage)
517 self.assertEqual(len(gc.garbage), garbagelen)
1064 for obj in gc.garbage:
1067 del gc.garbage[:]
1077 garbage, gc.garbage[:] = gc.garbage[:], []
1078 self.othergarbage.append(garbage)
1088 uc = [e for e in gc.garbage if isinstance(e, Uncollectable)]
1089 gc.garbage[:] = [e for e in gc.garbage
1145 self.assertEqual(len(gc.garbage), 4)
1146 for e in gc.garbage:
1152 gc.garbage[:] = []
1162 self.assertEqual(len(gc.garbage), 0)