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

Kristján Valur Jónsson report at bugs.python.org
Sun Jun 14 18:52:34 CEST 2009


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

Uploading a slimmed down patch, with only the exc_value memeber added to 
the assertRaises context manager.

----------
Added file: http://bugs.python.org/file14298/unitest2.patch

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


More information about the Python-bugs-list mailing list