[issue8313] <unprintable AssertionError object> message in unittest tracebacks

Michael Foord report at bugs.python.org
Wed May 5 12:19:58 CEST 2010


Michael Foord <michael at voidspace.org.uk> added the comment:

I would prefer to try str(...) first and only attempt to convert to unicode and do the backslash replace if the str(...) call fails.

----------

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


More information about the Python-bugs-list mailing list