Blame SOURCES/00135-skip-test-within-test_weakref-in-debug-build.patch

6e8c2f
diff -up Python-2.7.2/Lib/test/test_weakref.py.skip-test-within-test_weakref-in-debug-build Python-2.7.2/Lib/test/test_weakref.py
6e8c2f
--- Python-2.7.2/Lib/test/test_weakref.py.skip-test-within-test_weakref-in-debug-build	2011-09-08 17:55:09.675392260 -0400
6e8c2f
+++ Python-2.7.2/Lib/test/test_weakref.py	2011-09-08 17:59:08.857375903 -0400
6e8c2f
@@ -550,6 +550,14 @@ class ReferencesTestCase(TestBase):
6e8c2f
         del c1, c2, C, D
6e8c2f
         gc.collect()
6e8c2f
 
6e8c2f
+    # In a debug build, this fails with:
6e8c2f
+    #   AssertionError: Lists differ: [] != ['C went away']
6e8c2f
+    #   Second list contains 1 additional elements.
6e8c2f
+    #   First extra element 0:
6e8c2f
+    #   C went away
6e8c2f
+    #   - []
6e8c2f
+    #   + ['C went away']
6e8c2f
+    @unittest.skipIf(hasattr(sys, 'getobjects'), 'debug build')
6e8c2f
     def test_callback_in_cycle_resurrection(self):
6e8c2f
         import gc
6e8c2f