cpython/Lib/test/test_asyncio
INADA Naoki 3dc7c52a9f bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1546)
when there are no more `await` or `yield (from)` before return in coroutine,
cancel was ignored.

example:

    async def coro():
        asyncio.Task.current_task().cancel()
        return 42
    ...
    res = await coro()  # should raise CancelledError

(cherry picked from commit 991adca012)
2017-05-11 21:56:42 +09:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
keycert3.pem
pycacert.pem
ssl_cert.pem
ssl_key.pem
test_base_events.py Issue #28652: Partially rollback previous changes 2016-11-21 17:47:27 -05:00
test_events.py bpo-29703: asyncio: Fix creating new event loops in child processes. (#404) (#410) 2017-03-02 22:06:15 -05:00
test_futures.py bpo-28963: Fix out of bound iteration in asyncio.Future.remove_done_callback/C (#408) 2017-03-03 00:05:22 -05:00
test_locks.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_pep492.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_proactor_events.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_queues.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_selector_events.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_sslproto.py bpo-29742: asyncio get_extra_info() throws exception (#525) (#645) 2017-03-12 17:06:16 -04:00
test_streams.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_subprocess.py bpo-29704: Fix asyncio.SubprocessStreamProtocol closing (#405) 2017-03-02 23:31:17 -05:00
test_tasks.py bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1546) 2017-05-11 21:56:42 +09:00
test_transports.py
test_unix_events.py Issue #28704: Fix create_unix_server to support Path-like objects 2016-11-15 15:26:34 -05:00
test_windows_events.py Issue #28613: Fix get_event_loop() to return the current loop 2016-11-04 14:29:28 -04:00
test_windows_utils.py