summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-11-07 10:15:55 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-11-07 10:15:55 (GMT)
commite2618f34be2deb65799ccf073933cd61b443efd4 (patch)
tree9225ffc012f01f1ec26e421e7f6ecf146deaa610 /Lib/test/test_logging.py
parent39b53c50c4f0bbede11576e21a27fbb725176265 (diff)
parent3bd56387360e0b5ab1930640d0c4830c7fd6de23 (diff)
downloadcpython-e2618f34be2deb65799ccf073933cd61b443efd4.zip
cpython-e2618f34be2deb65799ccf073933cd61b443efd4.tar.gz
cpython-e2618f34be2deb65799ccf073933cd61b443efd4.tar.bz2
Closes #13361: Merge fix from 3.2.
Diffstat (limited to 'Lib/test/test_logging.py')
-rw-r--r--Lib/test/test_logging.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index 64c0653..ed22d91 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -311,7 +311,7 @@ class BuiltinLevelsTest(BaseTest):
])
def test_invalid_name(self):
- self.assertRaises(ValueError, logging.getLogger, any)
+ self.assertRaises(TypeError, logging.getLogger, any)
class BasicFilterTest(BaseTest):