[Python-checkins] cpython: Fixed sizeof tests for ElementTree (issue #23450).

serhiy.storchaka python-checkins at python.org
Mon Feb 16 22:59:47 CET 2015


https://hg.python.org/cpython/rev/f47d683b6c9e
changeset:   94657:f47d683b6c9e
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Mon Feb 16 23:58:46 2015 +0200
summary:
  Fixed sizeof tests for ElementTree (issue #23450).

files:
  Lib/test/test_xml_etree_c.py |  2 +-
  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
--- a/Lib/test/test_xml_etree_c.py
+++ b/Lib/test/test_xml_etree_c.py
@@ -55,7 +55,7 @@
     def setUp(self):
         self.elementsize = support.calcobjsize('5P')
         # extra
-        self.extra = struct.calcsize('PiiP4P')
+        self.extra = struct.calcsize('PnnP4P')
 
     check_sizeof = support.check_sizeof
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list