summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_join.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb/test/test_join.py')
-rw-r--r--Lib/bsddb/test/test_join.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_join.py b/Lib/bsddb/test/test_join.py
index 07e7e01..311835a 100644
--- a/Lib/bsddb/test/test_join.py
+++ b/Lib/bsddb/test/test_join.py
@@ -18,6 +18,10 @@ from bsddb.test.test_all import verbose
from bsddb import db, dbshelve, StringKeys
+try:
+ from bsddb3 import test_support
+except ImportError:
+ from test import test_support
#----------------------------------------------------------------------
@@ -57,7 +61,6 @@ class JoinTestCase(unittest.TestCase):
def tearDown(self):
self.env.close()
- from test import test_support
test_support.rmtree(self.homeDir)
def test01_join(self):