[Python-checkins] r85994 - python/branches/py3k/Lib/test/test_import.py

benjamin.peterson python-checkins at python.org
Sun Oct 31 01:01:58 CEST 2010


Author: benjamin.peterson
Date: Sun Oct 31 01:01:58 2010
New Revision: 85994
Log:
kill pointless function imports
Modified:
 python/branches/py3k/Lib/test/test_import.py
Modified: python/branches/py3k/Lib/test/test_import.py
==============================================================================
--- python/branches/py3k/Lib/test/test_import.py	(original)
+++ python/branches/py3k/Lib/test/test_import.py	Sun Oct 31 01:01:58 2010
@@ -121,7 +121,6 @@
 
 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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /