[New-bugs-announce] [issue31273] Unicode support in TestCase.skip

Nathan Buckner report at bugs.python.org
Thu Aug 24 16:37:13 EDT 2017


New submission from Nathan Buckner:

Unicode support for TestCase.skip is broken because the caught SkipTest exception is passed through a str call.
except SkipTest as e:
    self._addSkip(result, str(e))
Could be fixed with by changing to unicode(e)

----------
components: Tests, Unicode
files: issue.txt
messages: 300802
nosy: Nathan Buckner, ezio.melotti, haypo
priority: normal
severity: normal
status: open
title: Unicode support in TestCase.skip
type: crash
versions: Python 2.7
Added file: http://bugs.python.org/file47099/issue.txt

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31273>
_______________________________________


More information about the New-bugs-announce mailing list