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

index a4ddd666d988e4392f9a46b7e0fb427133de1b42..d49c429bd21a6ae514c6ddbea929bf2462f41e01 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: