New submission from Matthias Klose <d...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue32235> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com