mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Move import dbhash out of test_sundry and into test_bsddb,
so that test_sundry won't fail if the bsddb module is absent.
This commit is contained in:
parent
2a42c3a8d3
commit
a35e2cee32
2 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import bsddb
|
import bsddb
|
||||||
|
import dbhash # Just so we know it's imported
|
||||||
import tempfile
|
import tempfile
|
||||||
from test_support import verbose, verify
|
from test_support import verbose, verify
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,6 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
if verbose:
|
if verbose:
|
||||||
print "skipping curses"
|
print "skipping curses"
|
||||||
import dbhash
|
|
||||||
import dircache
|
import dircache
|
||||||
import dis
|
import dis
|
||||||
import distutils
|
import distutils
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue