From 50ac30ee0190ea2dd4ede87d63d6ebba23bd3a11 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 16 Apr 2002 00:29:27 +0000 Subject: OK, don't call resetwarnings(). --- Lib/test/regrtest.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 8e8deae..18decfe 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -55,7 +55,6 @@ import getopt import traceback import random import StringIO -import warnings import test_support @@ -323,7 +322,6 @@ def runtest(test, generate, verbose, quiet, testdir = None): indirect_test() finally: sys.stdout = save_stdout - warnings.resetwarnings() except (ImportError, test_support.TestSkipped), msg: if not quiet: print "test", test, "skipped --", msg -- cgit v0.12