[issue16288] TextTestResult uses TestCase.__str__() which isn't customisable (vs id() or shortDescription())

Robert Collins report at bugs.python.org
Fri Oct 19 20:47:22 CEST 2012


Robert Collins added the comment:

Or anther way this could be done would be to make TestCase.__str__ call self.id(), and then __str__ never needs to be adjusted - id() or shortDescription are the only things to tweak.

----------

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


More information about the Python-bugs-list mailing list