mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Closes #13661: Check added for type of logger name.
This commit is contained in:
parent
ebfaabd663
commit
61b787e6dd
2 changed files with 4 additions and 0 deletions
|
@ -293,6 +293,8 @@ class BuiltinLevelsTest(BaseTest):
|
|||
('INF.BADPARENT', 'INFO', '4'),
|
||||
])
|
||||
|
||||
def test_invalid_name(self):
|
||||
self.assertRaises(ValueError, logging.getLogger, any)
|
||||
|
||||
class BasicFilterTest(BaseTest):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue