]> granicus.if.org Git - python/commitdiff
Move import dbhash out of test_sundry and into test_bsddb,
authorGuido van Rossum <guido@python.org>
Fri, 7 Dec 2001 16:43:19 +0000 (16:43 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Dec 2001 16:43:19 +0000 (16:43 +0000)
so that test_sundry won't fail if the bsddb module is absent.

Lib/test/test_bsddb.py
Lib/test/test_sundry.py

index 192c6e2f2eca5676e0341edc9bc91902c1dae416..459dd5fb5ac842c2a9d9c51b86103c5a135add0e 100755 (executable)
@@ -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
 
index 627666ec1ee138330f1eb2c7bb2d183928793df3..3329ed61f4711f410f964950d3867ca414d179dd 100644 (file)
@@ -25,7 +25,6 @@ try:
 except ImportError:
     if verbose:
         print "skipping curses"
-import dbhash
 import dircache
 import dis
 import distutils