summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-11-07 10:15:08 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-11-07 10:15:08 (GMT)
commit3bd56387360e0b5ab1930640d0c4830c7fd6de23 (patch)
treee874fb79ea2cb7210c4124367ae7bf9376320bcb /Lib/test
parent61b787e6dd00b1e6e24a12e2d5aa6e9fd1352663 (diff)
downloadcpython-3bd56387360e0b5ab1930640d0c4830c7fd6de23.zip
cpython-3bd56387360e0b5ab1930640d0c4830c7fd6de23.tar.gz
cpython-3bd56387360e0b5ab1930640d0c4830c7fd6de23.tar.bz2
Closes #13361: Raise correct exception type.
Diffstat (limited to 'Lib/test')
-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 a022680..ab66596 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -294,7 +294,7 @@ class BuiltinLevelsTest(BaseTest):
])
def test_invalid_name(self):
- self.assertRaises(ValueError, logging.getLogger, any)
+ self.assertRaises(TypeError, logging.getLogger, any)
class BasicFilterTest(BaseTest):