Message124801
TextTestRunner is initialised with a stream to output messages on that defaults to sys.stderr. The correct way to redirect messages is to construct it with a different stream.
If you want a redirectable stream then construct the runner with a stream that delegates operations to a 'backend stream' but allows you to redirect it.
Fixing TextTestRunner to dynamically lookup up sys.stderr would not be compatible with systems that redirect sys.stderr but *don't* expect this to prevent test run information from being output.
I suggest closing as wontfix. |
|
Date |
User |
Action |
Args |
2010-12-28 16:27:51 | michael.foord | set | recipients:
+ michael.foord, cooyeah |
2010-12-28 16:27:51 | michael.foord | set | messageid: <1293553671.41.0.802765462572.issue10786@psf.upfronthosting.co.za> |
2010-12-28 16:27:49 | michael.foord | link | issue10786 messages |
2010-12-28 16:27:49 | michael.foord | create | |
|