diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-11-07 08:53:58 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-11-07 08:53:58 (GMT) |
commit | 39b53c50c4f0bbede11576e21a27fbb725176265 (patch) | |
tree | bb14a1d01f5b54b04d8680e0553016438ff2d503 /Lib/test/test_logging.py | |
parent | 50add0483638caf947c18712160b8579e5f741fc (diff) | |
parent | 61b787e6dd00b1e6e24a12e2d5aa6e9fd1352663 (diff) | |
download | cpython-39b53c50c4f0bbede11576e21a27fbb725176265.zip cpython-39b53c50c4f0bbede11576e21a27fbb725176265.tar.gz cpython-39b53c50c4f0bbede11576e21a27fbb725176265.tar.bz2 |
Merged fix for #13361 from 3.2.
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r-- | Lib/test/test_logging.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py index 7c8bab5..64c0653 100644 --- a/Lib/test/test_logging.py +++ b/Lib/test/test_logging.py @@ -310,6 +310,8 @@ class BuiltinLevelsTest(BaseTest): ('INF.BADPARENT', 'INFO', '4'), ]) + def test_invalid_name(self): + self.assertRaises(ValueError, logging.getLogger, any) class BasicFilterTest(BaseTest): |