]> granicus.if.org Git - python/commitdiff
bpo-36681: Remove duplicate test_regression_29220 function (GH-12894)
authorWindson yang <wiwindson@outlook.com>
Mon, 22 Apr 2019 18:49:11 +0000 (02:49 +0800)
committerSteve Dower <steve.dower@microsoft.com>
Mon, 22 Apr 2019 18:49:11 +0000 (11:49 -0700)
Lib/test/test_logging.py

index 1805249e48bcc0727c2df6253c0930960c03f759..82cbedada472471eab76c620f72d5ae2239fa2e9 100644 (file)
@@ -315,12 +315,6 @@ class BuiltinLevelsTest(BaseTest):
         self.assertEqual(logging.getLevelName('INFO'), logging.INFO)
         self.assertEqual(logging.getLevelName(logging.INFO), 'INFO')
 
-    def test_regression_29220(self):
-        """See issue #29220 for more information."""
-        logging.addLevelName(logging.INFO, '')
-        self.addCleanup(logging.addLevelName, logging.INFO, 'INFO')
-        self.assertEqual(logging.getLevelName(logging.INFO), '')
-
     def test_issue27935(self):
         fatal = logging.getLevelName('FATAL')
         self.assertEqual(fatal, logging.FATAL)