Re: assertraises behaviour
andrea crotti wrote:
> Good thanks, but there is something that implements this behaviour..
> For example nose runs all the tests, and if there are failures it goes
> on and shows the failed tests only in the end, so I think it is
> possible to achieve somehow, is that correct?
No, I don't see how the code you gave above can fail with an OSError.
Can you give an example that produces the desired behaviour with nose? Maybe
we can help you translate it to basic unittest.
|All times are GMT. The time now is 06:16 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.