diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-29 00:12:21 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-29 00:12:21 +0200 |
commit | 578a628a0e62fadf79bff1c61308a5e263cf286c (patch) | |
tree | 98386893a85762927c7bdba390bcc5251fc0a908 /asyncio/test_utils.py | |
parent | fe4fd118ab79c81a205ae6f2ad2c72efc985f418 (diff) | |
download | trollius-578a628a0e62fadf79bff1c61308a5e263cf286c.tar.gz |
Move coroutine code in the new module asyncio.coroutines
Diffstat (limited to 'asyncio/test_utils.py')
-rw-r--r-- | asyncio/test_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
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() |