summaryrefslogtreecommitdiffstats
path: root/Lib/test/regrtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/regrtest.py')
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 18decfe..8e8deae 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -55,6 +55,7 @@ import getopt
import traceback
import random
import StringIO
+import warnings
import test_support
@@ -322,6 +323,7 @@ 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