diff options
Diffstat (limited to 'Lib/asyncio/test_utils.py')
-rw-r--r-- | Lib/asyncio/test_utils.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index 32d3b0bf63..231916970c 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py @@ -30,7 +30,6 @@ from . import base_events from . import events from . import futures from . import tasks -from .coroutines import coroutine from .log import logger from test import support @@ -43,8 +42,7 @@ def dummy_ssl_context(): def run_briefly(loop): - @coroutine - def once(): + async def once(): pass gen = once() t = loop.create_task(gen) |