[issue13056] test_multibytecodec.py:TestStreamWriter is skipped after PEP393

STINNER Victor report at bugs.python.org
Thu Apr 11 22:45:48 CEST 2013


STINNER Victor added the comment:

CJK decoders use the new Unicode API since the changeset bcecf3910162.

"I think these tests have no sense after PEP393. They tests that StreamWriter works with non-BMP characters broken inside surrogate pair. I.e. c.write(s[:i]); c.write(s[i:]) always is same as c.write(s), even if i breaks s inside a surrogate pair. This case is impossible after PEP393."

I reenabled tests, but I simplified them to remove parts related to surrogate pairs.

Tests are shorter than before, but it's better than no test at all.

Can I close the issue or someone wants to improve these tests?

----------

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


More information about the Python-bugs-list mailing list