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:]:
It seems a difference between -0ubuntu1 and -0ubuntu2 (jaunty and karmic alpha 2) is this. It looks very relevant.
--- a/Lib/unittest.py
in MyTestCase TextTestRunner,
testLoader= defaultTestLoad er):
self. module = __import__(module) split(' .')[1:] :
+++ b/Lib/unittest.py
@@ -798,8 +798,10 @@ Examples:
"""
def __init__(self, module='__main__', defaultTest=None,
- argv=None, testRunner=
+ argv=None, testRunner=None,
+ if testRunner is None:
+ testRunner = TextTestRunner
if type(module) == type(''):
for part in module.