[issue14403] unittest module: provide inverse of "assertRaises"

Antoine Pitrou report at bugs.python.org
Sun Mar 25 14:03:27 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> I don't want to simply execute the code and hope that it doesn't raise 
> an exception, because if it does, the test fails with an "error" status 
> instead of a "failed" status.

So what?

----------
components: +Library (Lib) -Tests
nosy: +michael.foord, pitrou
versions: +Python 3.3 -Python 2.7

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


More information about the Python-bugs-list mailing list