commit | f951d28ac890063e3ecef56aa8cf851b1152d9dd | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Sun Jun 29 00:46:45 2014 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Sun Jun 29 00:46:45 2014 +0200 |
tree | 71e7b4d00127750cdfff1bce277012622fe2b719 | |
parent | 61f32cb5b8358b02c45e0a256c16e505e4c371d2 [diff] [blame] |
asyncio: sync with Tulip, add a new asyncio.coroutines module
diff --git a/Lib/asyncio/test_utils.py b/Lib/asyncio/test_utils.py index d9c7ae2..94054e7 100644 --- a/Lib/asyncio/test_utils.py +++ b/Lib/asyncio/test_utils.py
@@ -27,6 +27,7 @@ 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 run_briefly(loop): - @tasks.coroutine + @coroutine def once(): pass gen = once()