mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Issue #22386: fixed regression.
This commit is contained in:
parent
42d67af87f
commit
d1d4fbff63
3 changed files with 8 additions and 3 deletions
|
@ -313,6 +313,10 @@ class BuiltinLevelsTest(BaseTest):
|
|||
('INF.BADPARENT', 'INFO', '4'),
|
||||
])
|
||||
|
||||
def test_regression_22386(self):
|
||||
"""See issue #22386 for more information."""
|
||||
self.assertEqual(logging.getLevelName('INFO'), logging.INFO)
|
||||
self.assertEqual(logging.getLevelName(logging.INFO), 'INFO')
|
||||
|
||||
class BasicFilterTest(BaseTest):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue