]> granicus.if.org Git - python/commitdiff
warnings was imported at module scope, no need to import again
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 11 Jun 2006 07:26:50 +0000 (07:26 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 11 Jun 2006 07:26:50 +0000 (07:26 +0000)
Lib/test/regrtest.py

index 023ad9a0265f55b9163abc9af4aaaaa5d3a52a58..8db90f78d31c08b45396ef2c6306a6114834fed1 100755 (executable)
@@ -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