summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_support.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-21 20:45:44 (GMT)
committerGuido van Rossum <guido@python.org>2001-09-21 20:45:44 (GMT)
commit0a07639779beb496f3d68021fef28e77dbe13af9 (patch)
tree9bc2788297d521142990aaaaeba65e5e69bf04af /Lib/test/test_support.py
parent0fcca4e815e3dbb28c73108376079a94ad6ee8de (diff)
downloadcpython-0a07639779beb496f3d68021fef28e77dbe13af9.zip
cpython-0a07639779beb496f3d68021fef28e77dbe13af9.tar.gz
cpython-0a07639779beb496f3d68021fef28e77dbe13af9.tar.bz2
Oops. I didn't expect that some tests (test_cookie) have expected
output *and* doctest stuff. Assuming the doctest stuff comes after the expected output, this fixes that.
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r--Lib/test/test_support.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 0a96f66..a9452fc 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -32,6 +32,7 @@ _output_comparison = 1
def deny_output_comparison():
global _output_comparison
_output_comparison = 0
+ sys.stdout = sys.save_stdout
# regrtest's interface to _output_comparison.
def output_comparison_denied():