From: Benjamin Peterson Date: Sat, 3 Apr 2010 21:50:40 +0000 (+0000) Subject: import bsddb more robustly X-Git-Tag: v2.7b1~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a44f393c93586601e9aba21685a5c65f2b684f49;p=python import bsddb more robustly --- diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py index 596ad79640..f4a813aa66 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