[Python-checkins] r63041 - python/trunk/Lib/test/test_py3kwarn.py

alexandre.vassalotti python-checkins at python.org
Sun May 11 09:10:25 CEST 2008


Author: alexandre.vassalotti
Date: Sun May 11 09:10:25 2008
New Revision: 63041

Log:
Removed a dead line of code.


Modified:
   python/trunk/Lib/test/test_py3kwarn.py

Modified: python/trunk/Lib/test/test_py3kwarn.py
==============================================================================
--- python/trunk/Lib/test/test_py3kwarn.py	(original)
+++ python/trunk/Lib/test/test_py3kwarn.py	Sun May 11 09:10:25 2008
@@ -192,7 +192,6 @@
         - The module can be imported using the new 3.x name.
         - The warning message specify both names.
         """
-        ModuleType = type(sys) # get the module type object
         with CleanImport(module_name):
             with catch_warning(record=False) as w:
                 warnings.filterwarnings("error", ".+ renamed to",


More information about the Python-checkins mailing list