[issue2578] additional unittest type equality methods

Michael Foord report at bugs.python.org
Fri Apr 3 00:53:47 CEST 2009


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

No - you catch self.failureException rather than AssertionError directly.

I use unittest precisely because of the rich failure information from
the assert methods - particularly the new ones in this patch!

----------

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


More information about the Python-bugs-list mailing list