summaryrefslogtreecommitdiff
path: root/Lib/test/test_whichdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_whichdb.py')
-rw-r--r--Lib/test/test_whichdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_whichdb.py b/Lib/test/test_whichdb.py
index 5a8d6305ef..427e323f49 100644
--- a/Lib/test/test_whichdb.py
+++ b/Lib/test/test_whichdb.py
@@ -41,7 +41,7 @@ for name in anydbm._names:
try:
# Silence Py3k warning
mod = test.test_support.import_module(name, deprecated=True)
- except test.test_support.TestSkipped:
+ except unittest.SkipTest:
continue
def test_whichdb_name(self, name=name, mod=mod):