mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Silence deprecation warning in test___all__ caused by an import bsddb.
This commit is contained in:
parent
c4afe2950a
commit
0b41707dde
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue