jesus.cea
2008-09-01 20:48:52 UTC
Author: jesus.cea
Date: Mon Sep 1 22:48:51 2008
New Revision: 66124
Log:
In Python3.0, "test.test_support" is renamed to "test.support".
Modified:
python/branches/py3k/Lib/bsddb/test/test_all.py
Modified: python/branches/py3k/Lib/bsddb/test/test_all.py
==============================================================================
--- python/branches/py3k/Lib/bsddb/test/test_all.py (original)
+++ python/branches/py3k/Lib/bsddb/test/test_all.py Mon Sep 1 22:48:51 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:
Date: Mon Sep 1 22:48:51 2008
New Revision: 66124
Log:
In Python3.0, "test.test_support" is renamed to "test.support".
Modified:
python/branches/py3k/Lib/bsddb/test/test_all.py
Modified: python/branches/py3k/Lib/bsddb/test/test_all.py
==============================================================================
--- python/branches/py3k/Lib/bsddb/test/test_all.py (original)
+++ python/branches/py3k/Lib/bsddb/test/test_all.py Mon Sep 1 22:48:51 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: