summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-04-03 16:06:42 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-04-03 16:06:42 (GMT)
commit0ccc7bbb34100c1de1b407da741db06fe76bc227 (patch)
tree5d356b738ba3788d7159b932cbf921f9e281e53f /Lib/bsddb
parent674a9eb6e3504d309d83ab84f1c49c9276880cd2 (diff)
downloadcpython-0ccc7bbb34100c1de1b407da741db06fe76bc227.zip
cpython-0ccc7bbb34100c1de1b407da741db06fe76bc227.tar.gz
cpython-0ccc7bbb34100c1de1b407da741db06fe76bc227.tar.bz2
stop CObject deprecation warnings in test___all__
Diffstat (limited to 'Lib/bsddb')
-rw-r--r--Lib/bsddb/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/bsddb/__init__.py b/Lib/bsddb/__init__.py
index fa44900..ed4deea 100644
--- a/Lib/bsddb/__init__.py
+++ b/Lib/bsddb/__init__.py
@@ -48,6 +48,8 @@ if (sys.version_info >= (2, 6)) and (sys.version_info < (3, 0)) :
warnings.warnpy3k("in 3.x, the bsddb module has been removed; "
"please use the pybsddb project instead",
DeprecationWarning, 2)
+ warnings.filterwarnings("ignore", ".*CObject.*", DeprecationWarning,
+ "bsddb.__init__")
try:
if __name__ == 'bsddb3':