]> granicus.if.org Git - python/commitdiff
Removed a dead line of code.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Sun, 11 May 2008 07:10:25 +0000 (07:10 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Sun, 11 May 2008 07:10:25 +0000 (07:10 +0000)
Lib/test/test_py3kwarn.py

index 2bd2a5e23e2b723b0b989073819112a65943b951..ddf38ad797dbfcd6d9b0a7a08349ececec15a49d 100644 (file)
@@ -192,7 +192,6 @@ class TestStdlibRenames(unittest.TestCase):
         - 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",