mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
In Python3.0, "test.test_support" is renamed to "test.support".
This commit is contained in:
parent
3571fbfed7
commit
057dfddc88
1 changed files with 4 additions and 1 deletions
|
@ -356,7 +356,10 @@ except ImportError:
|
||||||
try:
|
try:
|
||||||
from bsddb3 import test_support
|
from bsddb3 import test_support
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
if sys.version_info[0] < 3 :
|
||||||
from test import test_support
|
from test import test_support
|
||||||
|
else :
|
||||||
|
from test import support as test_support
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue