From: Windson yang Date: Mon, 22 Apr 2019 18:49:11 +0000 (+0800) Subject: bpo-36681: Remove duplicate test_regression_29220 function (GH-12894) X-Git-Tag: v3.8.0a4~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d6f61edb8a6161148b3cf3eeb291408cc91154a;p=python bpo-36681: Remove duplicate test_regression_29220 function (GH-12894) --- diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 1805249e48..82cbedada4 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -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)