cpython/Lib/test/test_asyncio
Thomas Grainger fd6a602d04
[3.13] gh-133745: Fix asyncio task factory name/context kwarg breaks (#133948)
In 3.13.3 we accidentally broke the interface for custom task factory. Factory authors added workarounds.
This PR (for 3.13.4) unbreaks task factories that haven't made a workaround yet while also supporting those that have.

NOTE: The custom task factory API will change to what we accidentally released in 3.13.3.

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2025-05-18 06:50:07 -07:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
functional.py
test_base_events.py [3.13] gh-130736: Fix asyncio test_shutdown_default_executor_timeout() (GH-130800) (#130825) 2025-03-04 17:41:31 +05:30
test_buffered_proto.py
test_context.py
test_eager_task_factory.py [3.13] gh-128308: pass **kwargs to asyncio task_factory (GH-128768) (#130084) 2025-02-14 22:04:17 +05:30
test_events.py [3.13] gh-131645: fix ResourceWarnings in test_asyncio.test_events (#131646) (#131661) 2025-03-24 13:18:57 +00:00
test_futures.py [3.13] gh-125966: fix use-after-free on fut->fut_callback0 due to an evil callback's __eq__ in asyncio (GH-125967) (#126047) 2024-10-27 17:36:10 +00:00
test_futures2.py
test_locks.py
test_pep492.py
test_proactor_events.py
test_protocols.py
test_queues.py
test_runners.py
test_selector_events.py [3.13] gh-115514: Fix incomplete writes after close while using ssl in asyncio(GH-128037) (#129581) 2025-02-02 16:12:12 +00:00
test_sendfile.py [3.13] gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (GH-120227) (#123421) 2024-09-02 13:14:03 +02:00
test_server.py [3.13] gh-122136: test_asyncio: Don't fail if the kernel buffers more data than advertised (GH-123423) (#123443) 2024-08-29 11:44:54 +02:00
test_sock_lowlevel.py
test_ssl.py [3.13] gh-133454: Mark tests with many threads that use much memory as bigmem (GH-133456) (GH-133664) 2025-05-08 13:20:34 +00:00
test_sslproto.py [3.13] gh-118950: Fix SSLProtocol.connection_lost not being called when OSError is thrown (GH-118960) (#125931) 2024-10-26 22:01:47 +05:30
test_staggered.py [3.13] gh-128479: fix asyncio staggered race leaking tasks, and logging unhandled exception.append exception (GH-128475) (#129227) 2025-01-23 22:16:02 +01:00
test_streams.py [3.13] gh-124858: fix happy eyeballs refcyles (GH-124859) (#124912) 2024-10-23 12:35:56 -07:00
test_subprocess.py [3.13] gh-87744: fix waitpid race while calling send_signal in asyncio (GH-121126) (#121194) 2024-07-01 05:11:47 +00:00
test_taskgroups.py [3.13] gh-133745: Fix asyncio task factory name/context kwarg breaks (#133948) 2025-05-18 06:50:07 -07:00
test_tasks.py [3.13] gh-127949: fix resource warnings in test_tasks.py (GH-128172) (#131805) 2025-03-28 19:32:03 +05:30
test_threads.py [3.13] gh-122957: Fix test flakiness in asyncio test in free-thread build (GH-124039) (#124067) 2024-09-23 11:07:41 -07:00
test_timeouts.py
test_transports.py
test_unix_events.py [3.13] gh-117657: Skip tests that use threads after fork (GH-122194) (#122198) 2024-07-23 21:00:21 +00:00
test_waitfor.py
test_windows_events.py
test_windows_utils.py
utils.py [3.13] gh-133016: Fix a reference to removed asyncio.futures.TimeoutError (GH-133019) (#133023) 2025-04-26 19:46:11 +00:00