summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-12-07 16:43:19 (GMT)
committerGuido van Rossum <guido@python.org>2001-12-07 16:43:19 (GMT)
commita35e2cee323df2eb8ed4595f2ed6e7cf7b1630a4 (patch)
tree6fa4fa6a680ea4c179d61f1052d826ec2b85033a
parent2a42c3a8d3b9989aacc2d7bfcdcae4bdd97649e5 (diff)
downloadcpython-a35e2cee323df2eb8ed4595f2ed6e7cf7b1630a4.zip
cpython-a35e2cee323df2eb8ed4595f2ed6e7cf7b1630a4.tar.gz
cpython-a35e2cee323df2eb8ed4595f2ed6e7cf7b1630a4.tar.bz2
Move import dbhash out of test_sundry and into test_bsddb,
so that test_sundry won't fail if the bsddb module is absent.
-rwxr-xr-xLib/test/test_bsddb.py1
-rw-r--r--Lib/test/test_sundry.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_bsddb.py b/Lib/test/test_bsddb.py
index 192c6e2..459dd5f 100755
--- a/Lib/test/test_bsddb.py
+++ b/Lib/test/test_bsddb.py
@@ -5,6 +5,7 @@
import os
import bsddb
+import dbhash # Just so we know it's imported
import tempfile
from test_support import verbose, verify
diff --git a/Lib/test/test_sundry.py b/Lib/test/test_sundry.py
index 627666e..3329ed6 100644
--- a/Lib/test/test_sundry.py
+++ b/Lib/test/test_sundry.py
@@ -25,7 +25,6 @@ try:
except ImportError:
if verbose:
print "skipping curses"
-import dbhash
import dircache
import dis
import distutils