mirror of https://github.com/python/cpython.git
silence PyCObject warnings in bsddb
This commit is contained in:
parent
7daf985feb
commit
7beeeb5713
|
@ -48,6 +48,7 @@
|
|||
warnings.warnpy3k("in 3.x, the bsddb module has been removed; "
|
||||
"please use the pybsddb project instead",
|
||||
DeprecationWarning, 2)
|
||||
warnings.filterwarnings("*PyCObject*", DeprecationWarning, "_bsddb")
|
||||
|
||||
try:
|
||||
if __name__ == 'bsddb3':
|
||||
|
|
Loading…
Reference in New Issue