#7092: silence py3k warnings for bsddb. Patch by Florent Xicluna.

This commit is contained in:
Ezio Melotti 2010-02-02 08:37:35 +00:00
parent 039c899388
commit 5d62cfe070
8 changed files with 39 additions and 80 deletions

View file

@ -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.