summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2006-06-05 17:38:04 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2006-06-05 17:38:04 (GMT)
commitf0547d0d3e1bb85126159b8bb0311b99263df991 (patch)
treeb760e71c1c6dea248fd4be817e9f7a6ead9439a6 /Lib/bsddb/test
parent0459e4d2b9b22569176053dad71efc23954de3f2 (diff)
downloadcpython-f0547d0d3e1bb85126159b8bb0311b99263df991.zip
cpython-f0547d0d3e1bb85126159b8bb0311b99263df991.tar.gz
cpython-f0547d0d3e1bb85126159b8bb0311b99263df991.tar.bz2
* add support for DBSequence objects [patch #1466734]
Diffstat (limited to 'Lib/bsddb/test')
-rw-r--r--Lib/bsddb/test/test_all.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/Lib/bsddb/test/test_all.py b/Lib/bsddb/test/test_all.py
index abfaf47..23c768c 100644
--- a/Lib/bsddb/test/test_all.py
+++ b/Lib/bsddb/test/test_all.py
@@ -4,6 +4,12 @@
import sys
import os
import unittest
+try:
+ # For Pythons w/distutils pybsddb
+ from bsddb3 import db
+except ImportError:
+ # For Python 2.3
+ from bsddb import db
verbose = 0
if 'verbose' in sys.argv:
@@ -16,12 +22,6 @@ if 'silent' in sys.argv: # take care of old flag, just in case
def print_versions():
- try:
- # For Pythons w/distutils pybsddb
- from bsddb3 import db
- except ImportError:
- # For Python 2.3
- from bsddb import db
print
print '-=' * 38
print db.DB_VERSION_STRING
@@ -69,6 +69,7 @@ def suite():
'test_queue',
'test_recno',
'test_thread',
+ 'test_sequence',
]
alltests = unittest.TestSuite()