From f82b856b2ae519d857148b034f2d9ef71988548d Mon Sep 17 00:00:00 2001 From: Jesus Cea Date: Mon, 1 Sep 2008 20:48:51 +0000 Subject: [PATCH] In Python3.0, "test.test_support" is renamed to "test.support". --- Lib/bsddb/test/test_all.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Lib/bsddb/test/test_all.py b/Lib/bsddb/test/test_all.py index a4ddd666d9..d49c429bd2 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: -- 2.40.0