[issue20574] Implement incremental decoder for cp65001

STINNER Victor report at bugs.python.org
Tue Mar 18 01:51:37 CET 2014


STINNER Victor added the comment:

I removed the test because there were two classes tesing the same codec and that tests were failing. I need to refactor tests, and so I reopen the issue.

http://buildbot.python.org/all/builders/x86%20XP-4%203.x/builds/10291/steps/test/logs/stdio

======================================================================
FAIL: test_lone_surrogates (test.test_codecs.CP65001Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_codecs.py", line 773, in test_lone_surrogates
    super().test_lone_surrogates()
  File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_codecs.py", line 349, in test_lone_surrogates
    self.assertRaises(UnicodeEncodeError, "\ud800".encode, self.encoding)
AssertionError: UnicodeEncodeError not raised by encode

----------
resolution: fixed -> 
status: closed -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20574>
_______________________________________


More information about the Python-bugs-list mailing list