[New-bugs-announce] [issue18706] test failure in test_codeccallbacks

Antoine Pitrou report at bugs.python.org
Sun Aug 11 02:03:15 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue18706>
_______________________________________


More information about the New-bugs-announce mailing list