summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2008-09-01 20:48:51 (GMT)
committerJesus Cea <jcea@jcea.es>2008-09-01 20:48:51 (GMT)
commitf82b856b2ae519d857148b034f2d9ef71988548d (patch)
tree542d91a496ac331e9191b47df0b980d97edeb41d /Lib/bsddb
parentcd3158db2f1418768b70b6ea7fd8169e8f4a6bc0 (diff)
downloadcpython-f82b856b2ae519d857148b034f2d9ef71988548d.zip
cpython-f82b856b2ae519d857148b034f2d9ef71988548d.tar.gz
cpython-f82b856b2ae519d857148b034f2d9ef71988548d.tar.bz2
In Python3.0, "test.test_support" is renamed to "test.support".
Diffstat (limited to 'Lib/bsddb')
-rw-r--r--Lib/bsddb/test/test_all.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_all.py b/Lib/bsddb/test/test_all.py
index a4ddd66..d49c429 100644
--- a/Lib/bsddb/test/test_all.py
+++ b/Lib/bsddb/test/test_all.py
@@ -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: