summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_pickle.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb/test/test_pickle.py')
-rw-r--r--Lib/bsddb/test/test_pickle.py15
1 files changed, 1 insertions, 14 deletions
diff --git a/Lib/bsddb/test/test_pickle.py b/Lib/bsddb/test/test_pickle.py
index b1d3805..489c093 100644
--- a/Lib/bsddb/test/test_pickle.py
+++ b/Lib/bsddb/test/test_pickle.py
@@ -7,20 +7,7 @@ except ImportError:
cPickle = None
import unittest
-try:
- # For Pythons w/distutils pybsddb
- from bsddb3 import db
-except ImportError, e:
- # For Python 2.3
- from bsddb import db
-
-from test_all import get_new_environment_path, get_new_database_path
-
-try:
- from bsddb3 import test_support
-except ImportError:
- from test import test_support
-
+from test_all import db, test_support, get_new_environment_path, get_new_database_path
#----------------------------------------------------------------------