Closes #13661: Check added for type of logger name.

This commit is contained in:
Vinay Sajip 2011-11-07 08:53:03 +00:00
parent ebfaabd663
commit 61b787e6dd
2 changed files with 4 additions and 0 deletions

View file

@ -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):