mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
import bsddb more robustly
This commit is contained in:
parent
47b1d02d85
commit
a44f393c93
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue