Message102574
Although merely switching to StringIO may not be enough. TestResult objects keep a reference to sys.stdout when they are instantiated and you can't pickle that either.
It is preferable for the reference to be taken at instantiation time rather than stored as a module level reference to be compatible with test runners (like regrtest) that *themselves* replace sys.stdout... |
|
| Date |
User |
Action |
Args |
| 2010-04-07 22:56:11 | michael.foord | set | recipients:
+ michael.foord, loewis, tim.golden, jnoller, skrah |
| 2010-04-07 22:56:11 | michael.foord | set | messageid: <[email protected]> |
| 2010-04-07 22:56:10 | michael.foord | link | issue8333 messages |
| 2010-04-07 22:56:10 | michael.foord | create | |
|