1 diff -up Python-3.2b2/Lib/test/test_gc.py.fix-test-gc-COUNT_ALLOCS Python-3.2b2/Lib/test/test_gc.py
2 --- Python-3.2b2/Lib/test/test_gc.py.fix-test-gc-COUNT_ALLOCS 2010-12-28 20:39:40.779059772 -0500
3 +++ Python-3.2b2/Lib/test/test_gc.py 2010-12-28 20:41:15.890940017 -0500
4 @@ -102,10 +102,16 @@ class GCTests(unittest.TestCase):
6 self.assertNotEqual(gc.collect(), 0)
8 - self.assertNotEqual(gc.collect(), 0)
9 + if hasattr(sys, 'getcounts'):
10 + self.assertEqual(gc.collect(), 0)
12 + self.assertNotEqual(gc.collect(), 0)
15 - self.assertNotEqual(gc.collect(), 0)
16 + if hasattr(sys, 'getcounts'):
17 + self.assertEqual(gc.collect(), 0)
19 + self.assertNotEqual(gc.collect(), 0)
20 self.assertEqual(gc.collect(), 0)
22 def test_method(self):