commit | 53703d9d72c4b48a8c602209c4e4aba15f48d238 | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Mon Nov 07 10:13:18 2011 +0000 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Mon Nov 07 10:13:18 2011 +0000 |
tree | f57245020fbd9c96a3f2f6d1a8090782323df88f | |
parent | 74ab3440bad1b97e39fb5adf992e555ba26001d1 [diff] [blame] |
Closes #13361: Raise correct exception type.
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index b2d0a2b..2aac360 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py
@@ -273,7 +273,7 @@ ]) def test_invalid_name(self): - self.assertRaises(ValueError, logging.getLogger, any) + self.assertRaises(TypeError, logging.getLogger, any) class BasicFilterTest(BaseTest):