diff options
Diffstat (limited to 'Lib/bsddb/test/test_associate.py')
-rw-r--r-- | Lib/bsddb/test/test_associate.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/bsddb/test/test_associate.py b/Lib/bsddb/test/test_associate.py index 5fe41a9..f810eb0 100644 --- a/Lib/bsddb/test/test_associate.py +++ b/Lib/bsddb/test/test_associate.py @@ -17,11 +17,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 #---------------------------------------------------------------------- |