From d3c52de557546cf2381e27b7fc9b86676fec9a9d Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 11 Jun 2006 07:26:50 +0000 Subject: [PATCH] warnings was imported at module scope, no need to import again --- Lib/test/regrtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 023ad9a0265..8db90f78d31 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -684,7 +684,7 @@ def dash_R(the_module, test, indirect_test, huntrleaks): def dash_R_cleanup(fs, ps, pic): import gc, copy_reg - import _strptime, linecache, warnings, dircache + import _strptime, linecache, dircache import urlparse, urllib, urllib2, mimetypes, doctest import struct, filecmp from distutils.dir_util import _path_created