[Pyunit-interest] stderr vs. stdout
Brought to you by:
purcell
From: Chuck E. <ec...@mi...> - 2001-02-17 18:01:01
|
On a Windows ME machine, I do this: python Test.py > results.text But all the output goes to the console anyway and results.text is 0 bytes in length. A little investigation reveals that VerboseTextTestRunner defaults to sys.stderr: def __init__(self, stream=sys.stderr, descriptions=1): Is there a reason to default to stderr instead of stdout? -Chuck |