[Python-Dev] unittest missing assertNotRaises

Yuval Greenfield ubershmekel at gmail.com
Wed Sep 28 07:06:36 CEST 2011


On Sep 27, 2011 5:56 PM, <exarkun at twistedmatrix.com> wrote:
>
>
> assertNotRaises doesn't make anything possible that isn't possible now. It
probably doesn't even make anything easier - but if it does, it's so obscure
(and I've read and written thousands of tests for all kinds of libraries
over the years) that it doesn't merit a dedicated helper in the unittest
library.
>
> Jean-Paul
>

+1 for keeping it simple. TOOWTDI.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110928/a5a8113f/attachment.html>


More information about the Python-Dev mailing list