summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb/test/test_cursor_pget_bug.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/bsddb/test/test_cursor_pget_bug.py')
-rw-r--r--Lib/bsddb/test/test_cursor_pget_bug.py15
1 files changed, 2 insertions, 13 deletions
diff --git a/Lib/bsddb/test/test_cursor_pget_bug.py b/Lib/bsddb/test/test_cursor_pget_bug.py
index b1cfc79..68b6a87 100644
--- a/Lib/bsddb/test/test_cursor_pget_bug.py
+++ b/Lib/bsddb/test/test_cursor_pget_bug.py
@@ -1,19 +1,8 @@
import unittest
import os, glob
-try:
- # For Pythons w/distutils pybsddb
- from bsddb3 import db
-except ImportError:
- # 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
#----------------------------------------------------------------------