]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
In Python3.0, "test.test_support" is renamed to "test.support".
authorJesus Cea <jcea@jcea.es>
Mon, 1 Sep 2008 20:48:16 +0000 (20:48 +0000)
committerJesus Cea <jcea@jcea.es>
Mon, 1 Sep 2008 20:48:16 +0000 (20:48 +0000)
Lib/bsddb/test/test_all.py

index e7fa9e623ea56e0a0a53ce7f1e4910993127b202..75f5dc04f14edea1fcad49788a9ccae388783ebf 100644 (file)
@@ -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: