From: Serhiy Storchaka Date: Mon, 16 Feb 2015 21:58:46 +0000 (+0200) Subject: Fixed sizeof tests for ElementTree (issue #23450). X-Git-Tag: v3.5.0a2~131 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43036a66c37075534febdc4a4caaae8a364a9942;p=thirdparty%2FPython%2Fcpython.git Fixed sizeof tests for ElementTree (issue #23450). --- diff --git a/Lib/test/test_xml_etree_c.py b/Lib/test/test_xml_etree_c.py index 816aa8645d36..d0df38d3e68c 100644 --- a/Lib/test/test_xml_etree_c.py +++ b/Lib/test/test_xml_etree_c.py @@ -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