Andrew Bennetts <[EMAIL PROTECTED]> writes:

> This one is easily solved by making assertRaises return the
> exception it caught.

That breaks one simple feature of the unittest API: that all the test
methods will either raise a failure asertion, or return None.

-- 
 \           “In case you haven't noticed, [the USA] are now almost as |
  `\     feared and hated all over the world as the Nazis were.” —Kurt |
_o__)                                                   Vonnegut, 2004 |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to