diff options
-rw-r--r-- | Lib/bsddb/test/test_all.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_all.py b/Lib/bsddb/test/test_all.py index a4ddd66..d49c429 100644 --- a/Lib/bsddb/test/test_all.py +++ b/Lib/bsddb/test/test_all.py @@ -356,7 +356,10 @@ except ImportError: try: from bsddb3 import test_support except ImportError: - from test import test_support + if sys.version_info[0] < 3 : + from test import test_support + else : + from test import support as test_support try: |