[issue8333] test_multiprocessing: pickling failures
Michael Foord
report at bugs.python.org
Thu Apr 8 00:56:11 CEST 2010
Michael Foord <michael at voidspace.org.uk> added the comment:
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...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8333>
_______________________________________
More information about the Python-bugs-list
mailing list