[issue12057] HZ codec has no test

STINNER Victor report at bugs.python.org
Wed May 18 01:12:41 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

ISO 2022 encodings don't have tests neither: test_multibytecodec doesn't test directly these encodings but it is "Unit test for multibytecodec itself". We may also add tests specific to ISO 2022 encodings:

 - iso2022_kr
 - iso2022_jp
 - iso2022_jp_1
 - iso2022_jp_2
 - iso2022_jp_2004
 - iso2022_jp_3
 - iso2022_jp_ext

While trying to write tests for the HZ encoding, I found a bug in CJK multibyte encodings => #12100, "Incremental encoders of CJK codecs reset the codec at each call to encode()".

----------

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


More information about the Python-bugs-list mailing list