bpo-36681: Remove duplicate test_regression_29220 function (GH-12894)

This commit is contained in:
Windson yang 2019-04-23 02:49:11 +08:00 committed by Steve Dower
parent 007d0b0188
commit 3d6f61edb8
1 changed files with 0 additions and 6 deletions

View File

@ -315,12 +315,6 @@ class BuiltinLevelsTest(BaseTest):
self.assertEqual(logging.getLevelName('INFO'), logging.INFO) self.assertEqual(logging.getLevelName('INFO'), logging.INFO)
self.assertEqual(logging.getLevelName(logging.INFO), '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): def test_issue27935(self):
fatal = logging.getLevelName('FATAL') fatal = logging.getLevelName('FATAL')
self.assertEqual(fatal, logging.FATAL) self.assertEqual(fatal, logging.FATAL)