mirror of https://github.com/python/cpython
Merge 3.4 (asyncio)
This commit is contained in:
commit
7a093d9c71
|
@ -16,10 +16,15 @@ from asyncio import constants
|
|||
from asyncio import test_utils
|
||||
try:
|
||||
from test import support
|
||||
from test.support.script_helper import assert_python_ok
|
||||
except ImportError:
|
||||
from asyncio import test_support as support
|
||||
from asyncio.test_support import assert_python_ok
|
||||
try:
|
||||
from test.support.script_helper import assert_python_ok
|
||||
except ImportError:
|
||||
try:
|
||||
from test.script_helper import assert_python_ok
|
||||
except ImportError:
|
||||
from asyncio.test_support import assert_python_ok
|
||||
|
||||
|
||||
MOCK_ANY = mock.ANY
|
||||
|
|
|
@ -15,10 +15,15 @@ from asyncio import coroutines
|
|||
from asyncio import test_utils
|
||||
try:
|
||||
from test import support
|
||||
from test.support.script_helper import assert_python_ok
|
||||
except ImportError:
|
||||
from asyncio import test_support as support
|
||||
from asyncio.test_support import assert_python_ok
|
||||
try:
|
||||
from test.support.script_helper import assert_python_ok
|
||||
except ImportError:
|
||||
try:
|
||||
from test.script_helper import assert_python_ok
|
||||
except ImportError:
|
||||
from asyncio.test_support import assert_python_ok
|
||||
|
||||
|
||||
PY34 = (sys.version_info >= (3, 4))
|
||||
|
|
Loading…
Reference in New Issue