From a44f393c93586601e9aba21685a5c65f2b684f49 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 3 Apr 2010 21:50:40 +0000 Subject: import bsddb more robustly --- Lib/test/test___all__.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v0.12