[Python-Dev] unittest missing assertNotRaises

Laurens Van Houtven _ at lvh.cc
Tue Sep 27 20:59:37 CEST 2011


Sure, you just *do* it. The only advantage I see in assertNotRaises is that
when that exception is raised, you should (and would) get a failure, not an
error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110927/10bd60ab/attachment.html>


More information about the Python-Dev mailing list