diff options
author | Yury Selivanov <yury@magic.io> | 2017-12-11 10:04:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-11 10:04:40 -0500 |
commit | 3e9751819ad13a965e8be13c1e5bc5a6811fe6b8 (patch) | |
tree | d93da6e327fb548daf2a370b24b1b3479e7f3ed5 /Lib/test/test_asyncio/test_base_events.py | |
parent | 9edad3c7011ccab0a66a065933abebf3288cf1a1 (diff) | |
download | cpython-git-3e9751819ad13a965e8be13c1e5bc5a6811fe6b8.tar.gz |
bpo-32273: Move asyncio.test_utils to test.test_asyncio (#4785)
Diffstat (limited to 'Lib/test/test_asyncio/test_base_events.py')
-rw-r--r-- | Lib/test/test_asyncio/test_base_events.py | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py index 6561a9df77..8b08ed1663 100644 --- a/Lib/test/test_asyncio/test_base_events.py +++ b/Lib/test/test_asyncio/test_base_events.py @@ -14,18 +14,9 @@ from unittest import mock import asyncio from asyncio import base_events from asyncio import constants -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 MOCK_ANY = mock.ANY |