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: http://git.ipfire.org/?a=commitdiff_plain;h=a44f393c93586601e9aba21685a5c65f2b684f49;p=thirdparty%2FPython%2Fcpython.git import bsddb more robustly --- diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py index 596ad7964063..f4a813aa6613 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