[Zope-dev] no color with testrunner under python2.5
Benji York
benji at zope.com
Thu Apr 3 09:18:46 EDT 2008
Bernd Dorn wrote:
> on my python2.5 the _curses module was lacking, that was the problem,
> but as i see curses is not required just for --auto-color, --color
> works as expected
Right, the --auto-color code takes two things into account: is stdout a
terminal and if so, does it have color support. The first is easy to
determine, the second depends on curses (and defaults to "no color" if
curses isn't available).
--
Benji York
Senior Software Engineer
Zope Corporation
More information about the Zope-Dev
mailing list