cpython/Lib/test/test_asyncio
INADA Naoki 991adca012 bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097)
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
2017-05-11 21:18:38 +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) 2017-03-02 20:07:11 -05:00
test_futures.py bpo-28963: Fix out of bound iteration in asyncio.Future.remove_done_callback/C (#408) 2017-03-02 23:46:56 -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 bpo-29919: Remove unused imports found by pyflakes (#137) 2017-03-27 16:05:26 +02: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) 2017-03-12 15:23:30 -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 asyncio: Fix trailing whitespace/code style 2017-03-02 23:25:31 -05:00
test_tasks.py bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097) 2017-05-11 21:18:38 +09:00
test_transports.py
test_unix_events.py Remove unused imports. 2016-12-16 20:00:15 +02: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