diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-11 14:23:38 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-11 14:23:38 -0400 |
commit | 740169cd24fc108913e4480e98e608f0517a7b8a (patch) | |
tree | bf801141261edb778f7957aa777343a6c8cd1978 /Lib/test/test_asyncio/test_tasks.py | |
parent | 37c4f78390ae3f2c839b44939446f783b948d9d3 (diff) | |
download | cpython-git-740169cd24fc108913e4480e98e608f0517a7b8a.tar.gz |
Sync asyncio changes from the main repo.
Diffstat (limited to 'Lib/test/test_asyncio/test_tasks.py')
-rw-r--r-- | Lib/test/test_asyncio/test_tasks.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index ab61462188..5b49e7682a 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py @@ -15,10 +15,15 @@ from asyncio import coroutines from asyncio import test_utils try: from test import support - from test.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)) |