Silence deprecation warning in test___all__ caused by an import bsddb.

This commit is contained in:
Ezio Melotti 2010-06-07 22:00:18 +00:00
parent c4afe2950a
commit 0b41707dde
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ import sys
# Setup bsddb warnings
try:
import bsddb
except ImportError:
bsddb = support.import_module('bsddb', deprecated=True)
except unittest.SkipTest:
pass