bpo-36681: Remove duplicate test_regression_29220 function (GH-12894)
This commit is contained in:
parent
007d0b0188
commit
3d6f61edb8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue