diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-02 08:37:35 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-02 08:37:35 (GMT) |
commit | 5d62cfe070b63cdb3c80744ef9970facc008750c (patch) | |
tree | 3a7fea1b5ac99808c15312b2a6ae5dcbf5e3503f /Lib/test/test_bsddb3.py | |
parent | 039c89938841347192b57a8609fb615dbc13d47b (diff) | |
download | cpython-5d62cfe070b63cdb3c80744ef9970facc008750c.zip cpython-5d62cfe070b63cdb3c80744ef9970facc008750c.tar.gz cpython-5d62cfe070b63cdb3c80744ef9970facc008750c.tar.bz2 |
#7092: silence py3k warnings for bsddb. Patch by Florent Xicluna.
Diffstat (limited to 'Lib/test/test_bsddb3.py')
-rw-r--r-- | Lib/test/test_bsddb3.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_bsddb3.py b/Lib/test/test_bsddb3.py index 095c632..b9726f1 100644 --- a/Lib/test/test_bsddb3.py +++ b/Lib/test/test_bsddb3.py @@ -12,6 +12,8 @@ from test.test_support import (requires, verbose, run_unittest, unlink, rmtree, # Skip test if _bsddb module was not built. import_module('_bsddb') +# Silence Py3k warning +import_module('bsddb', deprecated=True) # When running as a script instead of within the regrtest framework, skip the # requires test, since it's obvious we want to run them. |