summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorWindson yang <wiwindson@outlook.com>2019-04-22 18:49:11 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2019-04-22 18:49:11 (GMT)
commit3d6f61edb8a6161148b3cf3eeb291408cc91154a (patch)
treed86ef8db7de5a4e51d4d74ce7e71387cfc8ac469 /Lib
parent007d0b0188a16273a5850d89857ecef97c1f4595 (diff)
downloadcpython-3d6f61edb8a6161148b3cf3eeb291408cc91154a.zip
cpython-3d6f61edb8a6161148b3cf3eeb291408cc91154a.tar.gz
cpython-3d6f61edb8a6161148b3cf3eeb291408cc91154a.tar.bz2
bpo-36681: Remove duplicate test_regression_29220 function (GH-12894)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_logging.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 1805249..82cbeda 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)