[Python-checkins] r66822 - python/trunk/Lib/test/test_atexit.py
skip at pobox.com
skip at pobox.com
Tue Oct 7 17:43:35 CEST 2008
Nick> That looks wrong to me (even though it was inherited from the
Nick> existing test code) - what if the test harness had previously set
Nick> sys.stdout/err to something else? Saving and restoring the streams
Nick> seems like a safer option than assuming the test harness hasn't
Nick> changed them.
Checked in as r66832 (trunk) and r66833 (2.6 branch).
Skip
More information about the Python-checkins
mailing list