summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_tasks.py
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2017-12-11 15:04:40 (GMT)
committerGitHub <noreply@github.com>2017-12-11 15:04:40 (GMT)
commit3e9751819ad13a965e8be13c1e5bc5a6811fe6b8 (patch)
treed93da6e327fb548daf2a370b24b1b3479e7f3ed5 /Lib/test/test_asyncio/test_tasks.py
parent9edad3c7011ccab0a66a065933abebf3288cf1a1 (diff)
downloadcpython-3e9751819ad13a965e8be13c1e5bc5a6811fe6b8.zip
cpython-3e9751819ad13a965e8be13c1e5bc5a6811fe6b8.tar.gz
cpython-3e9751819ad13a965e8be13c1e5bc5a6811fe6b8.tar.bz2
bpo-32273: Move asyncio.test_utils to test.test_asyncio (#4785)
Diffstat (limited to 'Lib/test/test_asyncio/test_tasks.py')
-rw-r--r--Lib/test/test_asyncio/test_tasks.py15
1 files changed, 3 insertions, 12 deletions
diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py
index cdc882a..071481d 100644
--- a/Lib/test/test_asyncio/test_tasks.py
+++ b/Lib/test/test_asyncio/test_tasks.py
@@ -17,18 +17,9 @@ import asyncio
from asyncio import coroutines
from asyncio import futures
from asyncio import tasks
-from asyncio import test_utils
-try:
- from test import support
-except ImportError:
- from asyncio import test_support as support
-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
+from test.test_asyncio import utils as test_utils
+from test import support
+from test.support.script_helper import assert_python_ok
@asyncio.coroutine