cpython/Lib/test/test_asyncio
Kumar Aditya 2e3e65380b
improve test_tasks to use correct idiom for starting task in asyncio (#130257)
The test should use the correct idiom for starting the task, `loop._run_once` is private API which should not be used directly, instead use `asyncio.sleep(0)` for 1 event loop cycle.
2025-02-18 12:08:25 +00:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
functional.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30
test_base_events.py gh-128308: pass **kwargs to asyncio task_factory (#128768) 2025-01-20 22:23:55 +05:30
test_buffered_proto.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_context.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_eager_task_factory.py gh-129874: improve asyncio tests to use correct internal functions (#129887) 2025-02-09 12:05:39 +00:00
test_events.py gh-130145: fix loop.run_forever when loop is already running (#130146) 2025-02-15 15:01:53 +05:30
test_free_threading.py gh-129874: improve asyncio tests to use correct internal functions (#129887) 2025-02-09 12:05:39 +00:00
test_futures.py gh-71339: Use new assertion methods in test_asyncio (#129051) 2025-01-20 17:02:39 +05:30
test_futures2.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_graph.py gh-129874: improve asyncio tests to use correct internal functions (#129887) 2025-02-09 12:05:39 +00:00
test_locks.py gh-71339: Use new assertion methods in test_asyncio (#129051) 2025-01-20 17:02:39 +05:30
test_pep492.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_proactor_events.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_protocols.py gh-71339: Use new assertion methods in test_asyncio (#129051) 2025-01-20 17:02:39 +05:30
test_queues.py gh-71339: Use new assertion methods in test_asyncio (#129051) 2025-01-20 17:02:39 +05:30
test_runners.py gh-127949: deprecate asyncio policy classes (#128216) 2024-12-24 17:30:26 +05:30
test_selector_events.py Replace non-breaking spaces with normal spaces (#130116) 2025-02-16 09:33:14 +08:00
test_sendfile.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_server.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_sock_lowlevel.py gh-71339: Use new assertion methods in test_asyncio (#129051) 2025-01-20 17:02:39 +05:30
test_ssl.py gh-115514: Fix incomplete writes after close while using ssl in asyncio(#128037) 2025-02-02 15:11:25 +00:00
test_sslproto.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_staggered.py gh-128479: fix asyncio staggered race leaking tasks, and logging unhandled exception.append exception (#128475) 2025-01-23 16:53:53 +01:00
test_streams.py gh-71339: Use new assertion methods in test_asyncio (#129051) 2025-01-20 17:02:39 +05:30
test_subprocess.py gh-129158: Fix unwanted trailing whitespace in test_asyncio.test_subprocess (#129181) 2025-01-22 13:52:45 +00:00
test_taskgroups.py gh-128588: gh-128550: remove eager tasks optimization that missed and introduced incorrect cancellations (#129063) 2025-01-20 17:13:01 +00:00
test_tasks.py improve test_tasks to use correct idiom for starting task in asyncio (#130257) 2025-02-18 12:08:25 +00:00
test_threads.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_timeouts.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_transports.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_unix_events.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30
test_waitfor.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_windows_events.py gh-127949: deprecate asyncio policy classes (#128216) 2024-12-24 17:30:26 +05:30
test_windows_utils.py gh-71339: Use new assertion methods in test_asyncio (#129051) 2025-01-20 17:02:39 +05:30
utils.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30