[Python-checkins] r66123 - python/trunk/Lib/bsddb/test/test_all.py

jesus.cea python-checkins at python.org
Mon Sep 1 22:48:17 CEST 2008


Author: jesus.cea
Date: Mon Sep  1 22:48:16 2008
New Revision: 66123

Log:
In Python3.0, "test.test_support" is renamed to "test.support".

Modified:
   python/trunk/Lib/bsddb/test/test_all.py

Modified: python/trunk/Lib/bsddb/test/test_all.py
==============================================================================
--- python/trunk/Lib/bsddb/test/test_all.py	(original)
+++ python/trunk/Lib/bsddb/test/test_all.py	Mon Sep  1 22:48:16 2008
@@ -356,7 +356,10 @@
 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:


More information about the Python-checkins mailing list