[PyQt] dip unit tests

Phil Thompson phil at riverbankcomputing.com
Wed Aug 4 22:29:33 BST 2010


On Wed, 4 Aug 2010 17:26:41 -0400, Darren Dale <dsdale24 at gmail.com> wrote:
> I just noticed a problem when running the dip test suite with
> python-2.6 and unittest:
> 
> File "/Users/darren/Projects/dip/test/tests/dip_ui/test_mapping.py",
> line 26, in TestMapping
>     @unittest.expectedFailure
> AttributeError: 'module' object has no attribute 'expectedFailure'
> 
> If I install unittest2, I can run the test suite.

That's correct - I forgot to document the requirement for unittest2.

Phil


More information about the PyQt mailing list