Serhiy Storchaka <storchaka+cpyt...@gmail.com> 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 <rep...@bugs.python.org>
<https://bugs.python.org/issue31273>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to