diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-06-28 22:46:45 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-06-28 22:46:45 (GMT) |
commit | f951d28ac890063e3ecef56aa8cf851b1152d9dd (patch) | |
tree | 71e7b4d00127750cdfff1bce277012622fe2b719 /Lib/asyncio/test_utils.py | |
parent | 61f32cb5b8358b02c45e0a256c16e505e4c371d2 (diff) | |
download | cpython-f951d28ac890063e3ecef56aa8cf851b1152d9dd.zip cpython-f951d28ac890063e3ecef56aa8cf851b1152d9dd.tar.gz cpython-f951d28ac890063e3ecef56aa8cf851b1152d9dd.tar.bz2 |
asyncio: sync with Tulip, add a new asyncio.coroutines module
Diffstat (limited to 'Lib/asyncio/test_utils.py')
-rw-r--r-- | Lib/asyncio/test_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 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() |