[Twisted-Python] comments about twisted.trial.unittest

Bob Ippolito bob at redivi.com
Wed Jun 11 16:40:30 EDT 2003

On Wednesday, Jun 11, 2003, at 16:27 America/New_York, Chris Liechti 

> 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.


More information about the Twisted-Python mailing list