From 578a628a0e62fadf79bff1c61308a5e263cf286c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sun, 29 Jun 2014 00:12:21 +0200 Subject: Move coroutine code in the new module asyncio.coroutines --- asyncio/test_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'asyncio/test_utils.py') diff --git a/asyncio/test_utils.py b/asyncio/test_utils.py index d9c7ae2..94054e7 100644 --- a/asyncio/test_utils.py +++ b/asyncio/test_utils.py @@ -27,6 +27,7 @@ from . import events from . import futures from . import selectors from . import tasks +from .coroutines import coroutine if sys.platform == 'win32': # pragma: no cover @@ -43,7 +44,7 @@ def dummy_ssl_context(): def run_briefly(loop): - @tasks.coroutine + @coroutine def once(): pass gen = once() -- cgit v1.2.1