[Distutils] Patch for your setuptools issue

Tarek Ziadé ziade.tarek at gmail.com
Tue Jun 2 14:11:49 CEST 2009


On Tue, Jun 2, 2009 at 2:06 PM, Michael Foord <fuzzyman at voidspace.org.uk> 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


More information about the Distutils-SIG mailing list