New submission from Antoine Pitrou:
Since issue #18681, the following test sequence fails:
./python -m test -v test_codecencodings_kr test_imp test_codeccallbacks
[...]
======================================================================
ERROR: test_xmlcharnamereplace (test.test_codeccallbacks.CodecCallbackTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/antoine/cpython/default/Lib/test/test_codeccallbacks.py", line
112, in test_xmlcharnamereplace
self.assertEqual(sin.encode("ascii", "test.xmlcharnamereplace"), sout)
File "/home/antoine/cpython/default/Lib/test/test_codeccallbacks.py", line
102, in xmlcharnamereplace
l.append("&%s;" % html.entities.codepoint2name[ord(c)])
AttributeError: 'module' object has no attribute 'entities'
----------
assignee: ezio.melotti
components: Tests
messages: 194854
nosy: ezio.melotti, pitrou
priority: high
severity: normal
stage: needs patch
status: open
title: test failure in test_codeccallbacks
type: behavior
versions: Python 3.3, Python 3.4
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18706>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com