mirror of
https://github.com/python/cpython.git
synced 2025-08-01 23:53:15 +00:00
#7092: silence py3k warnings for bsddb. Patch by Florent Xicluna.
This commit is contained in:
parent
039c899388
commit
5d62cfe070
8 changed files with 39 additions and 80 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue