diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index a9452fc904a..5a5e33c773d 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."""