Commit 01b07cdb authored by Alexandre Vassalotti's avatar Alexandre Vassalotti

Fixed test_sys failure due to removal of the unused slots

in PyNumberMethods.
parent ccc63b1d
...@@ -471,11 +471,16 @@ class SizeofTest(unittest.TestCase): ...@@ -471,11 +471,16 @@ class SizeofTest(unittest.TestCase):
pass pass
# type (PyTypeObject + PyNumberMethods + PyMappingMethods + # type (PyTypeObject + PyNumberMethods + PyMappingMethods +
# PySequenceMethods + PyBufferProcs) # PySequenceMethods + PyBufferProcs)
self.check_sizeof(class_newstyle, h +\ self.check_sizeof(class_newstyle, h +
p + 2*l + 15*p + l + 4*p + l + 9*p + l + 11*p +\ # PyTypeObject
self.align(4) +\ p + 2*l + 15*p + l + 4*p + l + 9*p + l + 11*p +
16*p + self.align(i) + 20*p +\ self.align(4) +
10*p + 3*p + 2*p + 2*p); # PyNumberMethods
16*p + self.align(i) + 17*p +
3*p + # PyMappingMethods
10*p + # PySequenceMethods
2*p + # PyBufferProcs
2*p) # *ht_name and *ht_slots
def test_specialtypes(self): def test_specialtypes(self):
i = self.i i = self.i
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment