summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-04-03 21:50:40 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-04-03 21:50:40 (GMT)
commita44f393c93586601e9aba21685a5c65f2b684f49 (patch)
tree7cfb87110a0bd6ea80b25f822e8b278d44666528
parent47b1d02d85675355f78f590c26aac6a8960ce579 (diff)
downloadcpython-a44f393c93586601e9aba21685a5c65f2b684f49.zip
cpython-a44f393c93586601e9aba21685a5c65f2b684f49.tar.gz
cpython-a44f393c93586601e9aba21685a5c65f2b684f49.tar.bz2
import bsddb more robustly
-rw-r--r--Lib/test/test___all__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py
index 596ad79..f4a813a 100644
--- a/Lib/test/test___all__.py
+++ b/Lib/test/test___all__.py
@@ -5,6 +5,12 @@ from test import test_support as support
import os
import sys
+# Setup bsddb warnings
+try:
+ import bsddb
+except ImportError:
+ pass
+
class NoAll(RuntimeError):
pass