On Tue, Jun 2, 2009 at 2:06 PM, Michael Foord <[email protected]> wrote:

> Ah - I see the problem. In Python 2.5 testRunner defaulted to None and main
> created its own TextTestRunner. In 2.6 the default was changed to be the
> TextTestRunner class. Unfortunately 2.5 needs either None or an instance of
> a runner.
>
> The easiest thing to do might be to create a dictionary of keyword arguments
> and omit testRunner if it is None. Call main with unittest.main(**args).

Yeah that shall do the trick, thanks
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to