Andrew Straw wrote: > 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:]: > > https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/395362
Andrew Straw wrote: TextTestRunner, defaultTestLoad er): split(' .')[1:] : /bugs.launchpad .net/ubuntu/ +source/ python- defaults/ +bug/395362
> 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=
> + argv=None, testRunner=None,
> testLoader=
> + if testRunner is None:
> + testRunner = TextTestRunner
> if type(module) == type(''):
> self.module = __import__(module)
> for part in module.
>
>
https:/