866e929265
* Sat Sep 10 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.2-10 - rewrite of "check", introducing downstream-only hooks for skipping specific cases in an rpmbuild (patch 132), and fixing/skipping failing tests in a more fine-grained manner than before (patches 104, 133-142)
15 lines
654 B
Diff
15 lines
654 B
Diff
--- Python-2.7.2/Lib/test/test_sys.py.mark-tests-that-fail-in-rpmbuild 2011-09-08 18:02:31.627362039 -0400
|
|
+++ Python-2.7.2/Lib/test/test_sys.py 2011-09-08 18:15:29.450308851 -0400
|
|
@@ -734,6 +734,11 @@ class SizeofTest(unittest.TestCase):
|
|
# (PyTypeObject + PyNumberMethods + PyMappingMethods +
|
|
# PySequenceMethods + PyBufferProcs)
|
|
s = size(vh + 'P2P15Pl4PP9PP11PI') + size('41P 10P 3P 6P')
|
|
+
|
|
+ # COUNT_ALLOCS adds further fields to the end of a PyTypeObject:
|
|
+ if hasattr(sys, 'getcounts'):
|
|
+ s += size('5P')
|
|
+
|
|
class newstyleclass(object):
|
|
pass
|
|
check(newstyleclass, s)
|