[Python-3000-checkins] r66124 - python/branches/py3k/Lib/bsddb/test/test_all.py
jesus.cea
python-3000-checkins at python.org
Mon Sep 1 22:48:52 CEST 2008
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:
More information about the Python-3000-checkins
mailing list