summaryrefslogtreecommitdiffstats
path: root/Lib/test/test___all__.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-06-07 22:00:18 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-06-07 22:00:18 (GMT)
commit0b41707dde35b1357427a8109fba10f9e92139b6 (patch)
tree21335b6c7621467f9408b8b59e29efff3e6d19db /Lib/test/test___all__.py
parentc4afe2950ab97fb529da99b511036b8a974b1694 (diff)
downloadcpython-0b41707dde35b1357427a8109fba10f9e92139b6.zip
cpython-0b41707dde35b1357427a8109fba10f9e92139b6.tar.gz
cpython-0b41707dde35b1357427a8109fba10f9e92139b6.tar.bz2
Silence deprecation warning in test___all__ caused by an import bsddb.
Diffstat (limited to 'Lib/test/test___all__.py')
-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