summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test___all__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index f4a813a..2c5dbef 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -7,8 +7,8 @@ import sys
# Setup bsddb warnings
try:
- import bsddb
-except ImportError:
+ bsddb = support.import_module('bsddb', deprecated=True)
+except unittest.SkipTest:
pass