summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb/test/test_thread.py')
-rw-r--r--Lib/bsddb/test/test_thread.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/bsddb/test/test_thread.py b/Lib/bsddb/test/test_thread.py
index cf4237c..59af027 100644
--- a/Lib/bsddb/test/test_thread.py
+++ b/Lib/bsddb/test/test_thread.py
@@ -28,11 +28,11 @@ import unittest
from test_all import verbose
try:
+ # For Pythons w/distutils pybsddb
+ from bsddb3 import db, dbutils
+except ImportError:
# For Python 2.3
from bsddb import db, dbutils
-except ImportError:
- # For earlier Pythons w/distutils pybsddb
- from bsddb3 import db, dbutils
#----------------------------------------------------------------------