From: Neal Norwitz Date: Sun, 11 Jun 2006 07:26:50 +0000 (+0000) Subject: warnings was imported at module scope, no need to import again X-Git-Tag: v2.5b1~137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d3c52de557546cf2381e27b7fc9b86676fec9a9d;p=python warnings was imported at module scope, no need to import again --- diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 023ad9a026..8db90f78d3 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