[New-bugs-announce] [issue32235] [2.7 regression] test_xml_etree test_xml_etree_c failures with 2.7 and 3.6 branches 20171205
Matthias Klose
report at bugs.python.org
Wed Dec 6 11:37:53 EST 2017
New submission from Matthias Klose <doko at debian.org>:
Seen with recent Debian and Ubuntu builds,
builds configured with --with-system-expat, expat version 2.2.3.
======================================================================
ERROR: test_expat224_utf8_bug (test.test_xml_etree.BugsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/test/test_xml_etree.py", line 1513, in test_expat224_utf8_bug
self.check_expat224_utf8_bug(text)
File "/usr/lib/python2.7/test/test_xml_etree.py", line 1500, in check_expat224_utf8_bug
root = ET.XML(xml)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1311, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1657, in feed
self._parser.Parse(data, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xc3 in position 2047: unexpected end of data
======================================================================
ERROR: test_expat224_utf8_bug_file (test.test_xml_etree.BugsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/test/test_xml_etree.py", line 1518, in test_expat224_utf8_bug_file
root = ET.fromstring(raw)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1311, in XML
parser.feed(text)
File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1657, in feed
self._parser.Parse(data, 0)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1020-1021: unexpected end of data
----------
messages: 307749
nosy: doko
priority: normal
severity: normal
status: open
title: [2.7 regression] test_xml_etree test_xml_etree_c failures with 2.7 and 3.6 branches 20171205
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32235>
_______________________________________
More information about the New-bugs-announce
mailing list