Blame SOURCES/00134-fix-COUNT_ALLOCS-failure-in-test_sys.patch

925e6b
--- Python-2.7.2/Lib/test/test_sys.py.mark-tests-that-fail-in-rpmbuild	2011-09-08 18:02:31.627362039 -0400
925e6b
+++ Python-2.7.2/Lib/test/test_sys.py	2011-09-08 18:15:29.450308851 -0400
925e6b
@@ -734,6 +734,11 @@ class SizeofTest(unittest.TestCase):
925e6b
         # (PyTypeObject + PyNumberMethods +  PyMappingMethods +
925e6b
         #  PySequenceMethods + PyBufferProcs)
925e6b
         s = vsize('P2P15Pl4PP9PP11PI') + struct.calcsize('41P 10P 3P 6P')
925e6b
+
925e6b
+        # COUNT_ALLOCS adds further fields to the end of a PyTypeObject:
925e6b
+        if hasattr(sys, 'getcounts'):
925e6b
+            s += size('P')
925e6b
+
925e6b
         class newstyleclass(object):
925e6b
             pass
925e6b
         check(newstyleclass, s)