From ad39aba2f67d3e7f4405f84167becab6d18ee9bc Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 25 Sep 2001 16:21:39 +0000 Subject: Set sys.save_stdout (to sys.stdout), so doctest-using tests can be run standalone. --- Lib/test/test_support.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index a9452fc..5a5e33c 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -2,6 +2,8 @@ import sys +sys.save_stdout = sys.stdout + class Error(Exception): """Base class for regression test exceptions.""" -- cgit v0.12