]> granicus.if.org Git - python/commit
Guido points out that sys.__stdout__ is a bit bucket under IDLE. So keep
authorTim Peters <tim.peters@gmail.com>
Tue, 25 Sep 2001 20:05:11 +0000 (20:05 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 25 Sep 2001 20:05:11 +0000 (20:05 +0000)
commit8dee809410e2d433bb0be5d8a1699736b90db0b5
tree896e67b420b872b782084d70b44d957471678139
parent698acf98fdafd14b1b5ad380e3c56b31ab33a229
Guido points out that sys.__stdout__ is a bit bucket under IDLE.  So keep
the local save/modify/restore of sys.stdout, but add machinery so that
regrtest can tell test_support the value of sys.stdout at the time
regrtest.main() started, and test_support can pass that out later to anyone
who needs a "visible" stdout.
Lib/test/regrtest.py
Lib/test/test_support.py