From: Jesus Cea Date: Mon, 1 Sep 2008 20:48:16 +0000 (+0000) Subject: In Python3.0, "test.test_support" is renamed to "test.support". X-Git-Tag: v2.6rc1~88 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=057dfddc8865c62507cb38c9ca444fb12856246d;p=thirdparty%2FPython%2Fcpython.git In Python3.0, "test.test_support" is renamed to "test.support". --- diff --git a/Lib/bsddb/test/test_all.py b/Lib/bsddb/test/test_all.py index e7fa9e623ea5..75f5dc04f14e 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: