This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients jnoller, loewis, michael.foord, skrah, tim.golden
Date 2010-04-07.22:56:09
SpamBayes Score 7.219777e-06
Marked as misclassified No
Message-id <1270680971.65.0.32270395427.issue8333@psf.upfronthosting.co.za>
In-reply-to
Content
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...
History
Date User Action Args
2010-04-07 22:56:11michael.foordsetrecipients: + michael.foord, loewis, tim.golden, jnoller, skrah
2010-04-07 22:56:11michael.foordsetmessageid: <1270680971.65.0.32270395427.issue8333@psf.upfronthosting.co.za>
2010-04-07 22:56:10michael.foordlinkissue8333 messages
2010-04-07 22:56:10michael.foordcreate