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: <1270680971.65.0.32270395427.issue8333@psf.upfronthosting.co.za> |
2010-04-07 22:56:10 | michael.foord | link | issue8333 messages |
2010-04-07 22:56:10 | michael.foord | create | |
|