summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2008-09-01 20:48:16 (GMT)
committerJesus Cea <jcea@jcea.es>2008-09-01 20:48:16 (GMT)
commit057dfddc8865c62507cb38c9ca444fb12856246d (patch)
treee3a6d17e246d883eecb4a360a7fd91c19863deff /Lib/bsddb
parent3571fbfed7c49895a03b8c0de1fa47a9de112da9 (diff)
downloadcpython-057dfddc8865c62507cb38c9ca444fb12856246d.zip
cpython-057dfddc8865c62507cb38c9ca444fb12856246d.tar.gz
cpython-057dfddc8865c62507cb38c9ca444fb12856246d.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 e7fa9e6..75f5dc0 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: