[Twisted-Python] comments about twisted.trial.unittest
Bob Ippolito
bob at redivi.com
Wed Jun 11 14:40:30 MDT 2003
On Wednesday, Jun 11, 2003, at 16:27 America/New_York, Chris Liechti
wrote:
> Glyph Lefkowitz wrote:
>> On Wednesday, June 11, 2003, at 01:56 PM, Jonathan M. Lange wrote:
>>> trial -v (Black-n-white verbose output)
>>> trial --color -v (Colorful verbose output)
>
> yes, looks nice for me.
>
>> Perhaps color should only be used if sys.stdout.isatty()?
>
> but unfortunately:
>
> isatty() may rule out captured output in an IDE, but it does not help
> for the stupid windows console window.
Yeah, but (sys.stdout.isatty() and sys.platform != 'windows') would.
For the countable-on-hands number of windows python developers in the
world that have ansi.sys (or equivalent) running, a --color flag could
force it to be on.
-bob
More information about the Twisted-Python
mailing list