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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13056>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to