]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
kill pointless function imports
authorBenjamin Peterson <benjamin@python.org>
Sat, 30 Oct 2010 23:01:58 +0000 (23:01 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 30 Oct 2010 23:01:58 +0000 (23:01 +0000)
Lib/test/test_import.py

index 98d8a348bfe1e8a113192f92eec207afcce0da00..386ec61126be4adb06758285ea30f17c9b303658 100644 (file)
@@ -121,7 +121,6 @@ class ImportTests(unittest.TestCase):
 
     def test_imp_module(self):
         # Verify that the imp module can correctly load and find .py files
-        import imp, os
         # XXX (ncoghlan): It would be nice to use support.CleanImport
         # here, but that breaks because the os module registers some
         # handlers in copy_reg on import. Since CleanImport doesn't