cpython/Lib/test/test_asyncio
Guido van Rossum 7d611b4cab
bpo-46771: Remove two controversial lines from Task.cancel() (GH-31623)
Also from the _asyncio C accelerator module,
and adjust one test that the change caused to fail.

For more discussion see the discussion starting here:
https://github.com/python/cpython/pull/31394#issuecomment-1053545331

(Basically, @asvetlov proposed to return False from cancel()
when there is already a pending cancellation, and I went along,
even though it wasn't necessary for the task group implementation,
and @agronholm has come up with a counterexample that fails
because of this change.  So now I'm changing it back to the old
semantics (but still bumping the counter) until we can have a
proper discussion about this.)
2022-02-28 15:15:56 -08:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
functional.py
test_asyncio_waitfor.py
test_base_events.py bpo-44011: New asyncio ssl implementation (#31275) 2022-02-15 15:04:00 +02:00
test_buffered_proto.py
test_context.py
test_events.py
test_futures.py bpo-46469: Make asyncio generic classes return GenericAlias (GH-30777) 2022-01-22 13:28:53 +02:00
test_futures2.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_locks.py bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431) 2022-02-21 13:25:52 +02:00
test_pep492.py
test_proactor_events.py Inherit asyncio proactor datagram transport from asyncio.DatagramTransport (#31512) 2022-02-23 01:39:24 +02:00
test_protocols.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_queues.py bpo-46469: Make asyncio generic classes return GenericAlias (GH-30777) 2022-01-22 13:28:53 +02:00
test_runners.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_selector_events.py bpo-46827: pass sock.type to getaddrinfo in sock_connect (GH-31499) 2022-02-22 22:35:57 +02:00
test_sendfile.py fixed flaky test (GH-30845) 2022-01-24 21:04:47 +00:00
test_server.py
test_sock_lowlevel.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_ssl.py bpo-46822: Increase timeout for test_create_server_ssl_over_ssl to match underlying timeouts (GH-31502) 2022-02-22 16:25:05 +00:00
test_sslproto.py bpo-44011: New asyncio ssl implementation (#31275) 2022-02-15 15:04:00 +02:00
test_streams.py
test_subprocess.py
test_taskgroups.py Taskgroup tweaks (GH-31559) 2022-02-26 08:18:48 -08:00
test_tasks.py bpo-46771: Remove two controversial lines from Task.cancel() (GH-31623) 2022-02-28 15:15:56 -08:00
test_threads.py
test_transports.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_unix_events.py Fix warning: asyncio.events._event_loop_policy was modified by test_asyncio (GH-31253) 2022-02-10 14:57:20 +02:00
test_windows_events.py fix DeprecationWarning when running asyncio tests (GH-30486) 2022-01-22 13:20:10 +02:00
test_windows_utils.py
utils.py