Comment 6 for bug 389942

Revision history for this message
Andrew Straw (astraw) wrote : Re: python-nose is broken in Karmic alpha 2

It seems a difference between -0ubuntu1 and -0ubuntu2 (jaunty and karmic alpha 2) is this. It looks very relevant.

--- a/Lib/unittest.py
+++ b/Lib/unittest.py
@@ -798,8 +798,10 @@ Examples:
                                                in MyTestCase
 """
     def __init__(self, module='__main__', defaultTest=None,
- argv=None, testRunner=TextTestRunner,
+ argv=None, testRunner=None,
                  testLoader=defaultTestLoader):
+ if testRunner is None:
+ testRunner = TextTestRunner
         if type(module) == type(''):
             self.module = __import__(module)
             for part in module.split('.')[1:]: