summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_sequence.py
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2008-08-31 14:00:51 (GMT)
committerJesus Cea <jcea@jcea.es>2008-08-31 14:00:51 (GMT)
commit4907d27c1fcc7bd990715d3023932433076e152f (patch)
treef7e79e00d3e95785b6ff3d2d0b809e6d6e5e5779 /Lib/bsddb/test/test_sequence.py
parent82358691f77e33301df2916746474873b35ccafa (diff)
downloadcpython-4907d27c1fcc7bd990715d3023932433076e152f.zip
cpython-4907d27c1fcc7bd990715d3023932433076e152f.tar.gz
cpython-4907d27c1fcc7bd990715d3023932433076e152f.tar.bz2
Update bsddb code to version 4.7.3pre2. This code should
be compatible with Python 3.0, also. http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3
Diffstat (limited to 'Lib/bsddb/test/test_sequence.py')
-rw-r--r--Lib/bsddb/test/test_sequence.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/Lib/bsddb/test/test_sequence.py b/Lib/bsddb/test/test_sequence.py
index dba1c6e..b61ead4 100644
--- a/Lib/bsddb/test/test_sequence.py
+++ b/Lib/bsddb/test/test_sequence.py
@@ -1,18 +1,7 @@
import unittest
import os
-try:
- # For Pythons w/distutils pybsddb
- from bsddb3 import db
-except ImportError:
- from bsddb import db
-
-try:
- from bsddb3 import test_support
-except ImportError:
- from test import test_support
-
-from test_all import get_new_environment_path, get_new_database_path
+from test_all import db, test_support, get_new_environment_path, get_new_database_path
class DBSequenceTest(unittest.TestCase):