warnings was imported at module scope, no need to import again
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_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