Serhiy Storchaka <[email protected]> added the comment:
I concur with Victor. Unlikely this affects many people since skipping messages
usually are ASCII strings.
As a workaround you can implement your own skip() method that encodes unicode
to 8-bit string.
def skip(self, reason):
if isinstance(reason, unicode):
reason = unicode.encode(reason, 'utf-8')
TestCase.skip(self, reason)
----------
nosy: +serhiy.storchaka
resolution: -> wont fix
stage: needs patch -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue31273>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com