[Pyunit-interest] Assert that an Exception is NOT raised.
Brought to you by:
purcell
From: Timothy G. <tj...@cr...> - 2002-12-11 06:07:55
|
I'm pretty new to PyUnit, one of the things I think is neat is that there's a difference between test Failures and Errors. The problem is, I want to assert that an Exception is NOT raised, but the test fails with an Error because an Exception is raised. Is there something like assertDoesNotRaise(ExceptionClass)? --=20 Stand Fast, tjg. Timothy Grant www.craigelachie.org |