cpython/Lib/test/test_asyncio
Miss Islington (bot) a9ece4a839
gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815)
Also use `raise TimeOut from <CancelledError instance>` so that the CancelledError is set
in the `__cause__` field rather than in the `__context__` field.

(cherry picked from commit 04adf2df39)

Co-authored-by: Kristján Valur Jónsson <sweskman@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-22 11:23:47 -07:00
..
__init__.py bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) 2022-03-22 03:04:36 -07:00
__main__.py
echo.py
echo2.py
echo3.py
functional.py bpo-45011: Fix test_asyncio without C module _asyncio (GH-27968) 2021-08-26 14:48:24 +02:00
test_base_events.py [3.11] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created (#99949) 2022-12-06 16:15:44 +01:00
test_buffered_proto.py
test_context.py bpo-46425: fix direct invocation of asyncio tests (#30725) 2022-01-22 13:06:27 +02:00
test_events.py [3.11] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop() (#100412) 2023-01-10 12:20:09 -08:00
test_futures.py [3.11] gh-101326: Fix regression when passing None to FutureIter.throw (GH-101327) (#101328) 2023-01-25 13:01:13 -08:00
test_futures2.py [3.11] bpo-45924: Fix asyncio incorrect traceback when future's exception is raised multiple times (GH-30274) (#94747) 2022-07-11 14:17:32 +01:00
test_locks.py gh-97545: Make Semaphore run faster. (GH-97549) 2022-09-26 17:00:53 -07:00
test_pep492.py bpo-43216: Remove @asyncio.coroutine (GH-26369) 2021-07-01 15:13:59 +02:00
test_proactor_events.py gh-98703: Add tests for closing _ProactorSocketTransport with proactor event loop (GH-98730) 2022-10-26 20:33:19 -07: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-47076: Make asyncio.Queue stable on slow test boxes (GH-32040) 2022-03-22 16:00:23 +02:00
test_runners.py GH-95899: fix asyncio.Runner to call set_event_loop only once (GH-95900) (#96003) 2022-08-15 15:01:23 -07:00
test_selector_events.py gh-72889: Remove redundant mock.Mock()._is_coroutine = False workarounds (GH-94926) 2022-07-17 10:49:01 -07:00
test_sendfile.py [3.11] gh-98174: Handle EPROTOTYPE under macOS in test_sendfile_fallback_close_peer_in_the_middle_of_receiving (GH-98316) (#98357) 2022-10-18 08:21:58 -07:00
test_server.py
test_sock_lowlevel.py bpo-46805: Add low level UDP socket functions to asyncio (GH-31455) 2022-03-13 18:42:29 +02:00
test_ssl.py gh-60203: Always pass True/False as boolean arguments in tests (GH-99983) 2022-12-04 04:50:46 -08:00
test_sslproto.py bpo-46198: Fix test_asyncio.test_sslproto (GH-31801) 2022-03-10 13:36:22 -08:00
test_streams.py [3.11] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created (#99949) 2022-12-06 16:15:44 +01:00
test_subprocess.py GH-100133: fix asyncio subprocess losing stderr and stdout output (GH-100154) 2022-12-21 02:24:19 -08:00
test_taskgroups.py GH-95704: Don't suppress errors from tasks when TG is cancelled (GH-95761) 2022-08-17 10:04:59 -07:00
test_tasks.py [3.11] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created (#99949) 2022-12-06 16:15:44 +01:00
test_threads.py bpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase (GH-32086) 2022-03-23 23:17:07 +02:00
test_timeouts.py gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815) 2023-03-22 11:23:47 -07:00
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 [3.11] gh-93453: Only emit deprecation warning in asyncio.get_event_loop when a new event loop is created (#99949) 2022-12-06 16:15:44 +01:00
test_waitfor.py bpo-47038: Increase a test timeout for slow CI machines (GH-31951) 2022-03-17 02:54:36 +02:00
test_windows_events.py [3.11] GH-100573: Fix server hang caused by os.stat() on named pipe (Windows) (GH-100959) (#101019) 2023-01-13 13:58:20 -08:00
test_windows_utils.py
utils.py bpo-46805: Add low level UDP socket functions to asyncio (GH-31455) 2022-03-13 18:42:29 +02:00