mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +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 os
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
# Setup bsddb warnings
|
||||||
|
try:
|
||||||
|
import bsddb
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
class NoAll(RuntimeError):
|
class NoAll(RuntimeError):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue