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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/bsddb/test/test_join.py b/Lib/bsddb/test/test_join.py
index 838ffe7..73edd11 100644
--- a/Lib/bsddb/test/test_join.py
+++ b/Lib/bsddb/test/test_join.py
@@ -16,11 +16,11 @@ import unittest
from test_all import verbose
try:
+ # For Pythons w/distutils pybsddb
+ from bsddb3 import db, dbshelve
+except ImportError:
# For Python 2.3
from bsddb import db, dbshelve
-except ImportError:
- # For earlier Pythons w/distutils pybsddb
- from bsddb3 import db, dbshelve
#----------------------------------------------------------------------