Lines Matching refs:is_tracked
490 self.assertFalse(gc.is_tracked(None))
491 self.assertFalse(gc.is_tracked(1))
492 self.assertFalse(gc.is_tracked(1.0))
493 self.assertFalse(gc.is_tracked(1.0 + 5.0j))
494 self.assertFalse(gc.is_tracked(True))
495 self.assertFalse(gc.is_tracked(False))
496 self.assertFalse(gc.is_tracked("a"))
497 self.assertFalse(gc.is_tracked(u"a"))
498 self.assertFalse(gc.is_tracked(bytearray("a")))
499 self.assertFalse(gc.is_tracked(type))
500 self.assertFalse(gc.is_tracked(int))
501 self.assertFalse(gc.is_tracked(object))
502 self.assertFalse(gc.is_tracked(object()))
508 self.assertTrue(gc.is_tracked(gc))
509 self.assertTrue(gc.is_tracked(OldStyle))
510 self.assertTrue(gc.is_tracked(OldStyle()))
511 self.assertTrue(gc.is_tracked(NewStyle))
512 self.assertTrue(gc.is_tracked(NewStyle()))
513 self.assertTrue(gc.is_tracked([]))
514 self.assertTrue(gc.is_tracked(set()))