mirror of https://github.com/python/cpython
Silence deprecation warning in test___all__ caused by an import bsddb.
This commit is contained in:
parent
c4afe2950a
commit
0b41707dde
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue