summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_dbobj.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb/test/test_dbobj.py')
-rw-r--r--Lib/bsddb/test/test_dbobj.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/bsddb/test/test_dbobj.py b/Lib/bsddb/test/test_dbobj.py
index 93ea7ba..6799fc9 100644
--- a/Lib/bsddb/test/test_dbobj.py
+++ b/Lib/bsddb/test/test_dbobj.py
@@ -4,11 +4,11 @@ import unittest
import glob
try:
+ # For Pythons w/distutils pybsddb
+ from bsddb3 import db, dbobj
+except ImportError:
# For Python 2.3
from bsddb import db, dbobj
-except ImportError:
- # For earlier Pythons w/distutils pybsddb
- from bsddb3 import db, dbobj
#----------------------------------------------------------------------