[issue2578] Figure out what to do with unittest's redundant APIs
Antoine Pitrou
report at bugs.python.org
Mon Mar 30 21:21:58 CEST 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
> Updated patch after sprinting on this with Michael Foord.
>
> TODO:
> * update assertRaisesWithRegexpMatch to be a context manager.
Wouldn't it be simpler to make assertRaises return the exception and let
the calling code match it as it feels like?
(or, at least, find a shorter name than assertRaisesWithRegexpMatch :-))
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue2578>
_______________________________________
More information about the Python-bugs-list
mailing list