[Python-checkins] bpo-36681: Remove duplicate test_regression_29220 function (GH-12894)
Steve Dower
webhook-mailer at python.org
Mon Apr 22 14:50:35 EDT 2019
https://github.com/python/cpython/commit/3d6f61edb8a6161148b3cf3eeb291408cc91154a
commit: 3d6f61edb8a6161148b3cf3eeb291408cc91154a
branch: master
author: Windson yang <wiwindson at outlook.com>
committer: Steve Dower <steve.dower at microsoft.com>
date: 2019-04-22T11:49:11-07:00
summary:
bpo-36681: Remove duplicate test_regression_29220 function (GH-12894)
files:
M Lib/test/test_logging.py
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 1805249e48bc..82cbedada472 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -315,12 +315,6 @@ def test_regression_22386(self):
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)
More information about the Python-checkins
mailing list