Message305234
| 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:20 | serhiy.storchaka | set | recipients: + serhiy.storchaka, vstinner, rbcollins, ezio.melotti, michael.foord, Nathan Buckner |
| 2017-10-30 15:55:20 | serhiy.storchaka | set | messageid: <1509378920.1.0.213398074469.issue31273@psf.upfronthosting.co.za> |
| 2017-10-30 15:55:20 | serhiy.storchaka | link | issue31273 messages |
| 2017-10-30 15:55:20 | serhiy.storchaka | create | |