[issue6275] let unittest.assertRaises() return the exception object caught

Michael Foord report at bugs.python.org
Sat Jun 13 15:17:19 CEST 2009


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

This was suggested before on Python-dev and Guido rejected it as it is
an 'odd' API for a unittest assert method - none of the others return
anything.

----------
resolution:  -> rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list