[TIP] unittest2 expectedFailure

Aaron Whitehouse lists at whitehouse.kiwi.nz
Sat Aug 1 03:57:23 PDT 2015

Thanks again for such a prompt reply, Florian!

On 01/08/15 11:06, Florian Bruhin wrote:
> Is that actually the code you're running? I don't see a class inheriting from unittest.TestCase
here, so unittest doesn't find and tests here for me (as it requires
tests to be in classes).
You've indirectly helped me solve it! I did have this within a class,
but it was inheriting from a module that wasn't importing unittest2.

Many thanks,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20150801/cb97d297/attachment.htm>

More information about the testing-in-python mailing list