summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-02-16 21:58:46 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-02-16 21:58:46 (GMT)
commit43036a66c37075534febdc4a4caaae8a364a9942 (patch)
tree8a310dcd7efc47414fdba8597fae97ffe0ab1513 /Lib
parent67559bf8f14bfdcda028fda720c62bd50d597c45 (diff)
downloadcpython-43036a66c37075534febdc4a4caaae8a364a9942.zip
cpython-43036a66c37075534febdc4a4caaae8a364a9942.tar.gz
cpython-43036a66c37075534febdc4a4caaae8a364a9942.tar.bz2
Fixed sizeof tests for ElementTree (issue #23450).
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_xml_etree_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_xml_etree_c.py b/Lib/test/test_xml_etree_c.py
index 816aa86..d0df38d 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