Merge 58539: squelch the warning that this test is intended to raise.

This commit is contained in:
Gregory P. Smith 2007-10-19 07:34:48 +00:00
parent 66077d8e61
commit 630e46424a

View file

@ -5,6 +5,7 @@
import shutil
import tempfile
import warnings
try:
# For Pythons w/distutils and add-on pybsddb
from bsddb3 import db
@ -32,8 +33,12 @@ def __init__(self):
del self.the_txn
warnings.filterwarnings('ignore', 'DBTxn aborted in destructor')
try:
context = Context()
del context
finally:
warnings.resetwarnings()
# try not to leave a turd
try: