]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fixed sizeof tests for ElementTree (issue #23450).
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 16 Feb 2015 21:58:46 +0000 (23:58 +0200)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 16 Feb 2015 21:58:46 +0000 (23:58 +0200)
Lib/test/test_xml_etree_c.py

index 816aa8645d36d172665660d9ba698889a1432689..d0df38d3e68cd061cbe4000b3a92e61156ed8b07 100644 (file)
@@ -55,7 +55,7 @@ class SizeofTest(unittest.TestCase):
     def setUp(self):
         self.elementsize = support.calcobjsize('5P')
         # extra
-        self.extra = struct.calcsize('PiiP4P')
+        self.extra = struct.calcsize('PnnP4P')
 
     check_sizeof = support.check_sizeof