summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-06-11 07:26:50 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-06-11 07:26:50 (GMT)
commitd3c52de557546cf2381e27b7fc9b86676fec9a9d (patch)
tree3c390c3aa14d88a876579f379e91880563115d89 /Lib
parentf992a2b11e5fdcddbb6ef834a0601e1ac6307409 (diff)
downloadcpython-d3c52de557546cf2381e27b7fc9b86676fec9a9d.zip
cpython-d3c52de557546cf2381e27b7fc9b86676fec9a9d.tar.gz
cpython-d3c52de557546cf2381e27b7fc9b86676fec9a9d.tar.bz2
warnings was imported at module scope, no need to import again
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/regrtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index 023ad9a..8db90f7 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