summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_support.py2
1 files changed, 2 insertions, 0 deletions
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."""