This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Nathan Buckner, ezio.melotti, michael.foord, rbcollins, serhiy.storchaka, vstinner
Date 2017-10-30.15:55:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509378920.1.0.213398074469.issue31273@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2017-10-30 15:55:20serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, rbcollins, ezio.melotti, michael.foord, Nathan Buckner
2017-10-30 15:55:20serhiy.storchakasetmessageid: <1509378920.1.0.213398074469.issue31273@psf.upfronthosting.co.za>
2017-10-30 15:55:20serhiy.storchakalinkissue31273 messages
2017-10-30 15:55:20serhiy.storchakacreate