Lines Matching refs:get_objects
794 any(l is element for element in gc.get_objects(generation=0))
797 any(l is element for element in gc.get_objects(generation=1))
800 any(l is element for element in gc.get_objects(generation=2))
804 any(l is element for element in gc.get_objects(generation=0))
807 any(l is element for element in gc.get_objects(generation=1))
810 any(l is element for element in gc.get_objects(generation=2))
814 any(l is element for element in gc.get_objects(generation=0))
817 any(l is element for element in gc.get_objects(generation=1))
820 any(l is element for element in gc.get_objects(generation=2))
824 any(l is element for element in gc.get_objects(generation=0))
827 any(l is element for element in gc.get_objects(generation=1))
830 any(l is element for element in gc.get_objects(generation=2))
837 self.assertEqual(len(gc.get_objects()),
838 len(gc.get_objects(generation=None)))
840 self.assertRaises(ValueError, gc.get_objects, 1000)
841 self.assertRaises(ValueError, gc.get_objects, -1000)
842 self.assertRaises(TypeError, gc.get_objects, "1")
843 self.assertRaises(TypeError, gc.get_objects, 1.234)