Comment 7 for bug 880207

Revision history for this message
Jonathan Ballet (multani) wrote :

I discovered on subtle bug, which occurs if you run tests with an 'old' Python version (without the new unittest module) but using the unittest2 module and this new skip feature:

unittest2 will happily report the skipped tests to zope.testrunner, which will try to add them into the TestResut object. However, since zope.testrunner only knows about 'unittest', and so, the old version from the stdlib which knows nothing about skipped tests, zope.testrunner fails to add them into the TestResult object because it lacks some methods there (notabley the TestResult.addSkip() method).