import bsddb more robustly

This commit is contained in:
Benjamin Peterson 2010-04-03 21:50:40 +00:00
parent 47b1d02d85
commit a44f393c93

View file

@ -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