[issue31273] [2.7] unittest: Unicode support in TestCase.skip
STINNER Victor
report at bugs.python.org
Mon Oct 30 11:44:10 EDT 2017
STINNER Victor <victor.stinner at gmail.com> added the comment:
> Could be fixed with by changing to unicode(e)
Replacing str(e) with unicode(e) can introduce Unicode errors regressions. I'm not confident in doing such change late in the old 2.7 branch.
I suggest you to only use native strings (byte strings, "str" type) in Python 2, and slowly upgrade your application to Python 3.
I propose to close this issue as WONT FIX.
----------
title: Unicode support in TestCase.skip -> [2.7] unittest: Unicode support in TestCase.skip
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31273>
_______________________________________
More information about the Python-bugs-list
mailing list