cpython/Lib/test/test_asyncio
Victor Stinner ac01e2243a
gh-111644: Fix asyncio test_unhandled_exceptions() (#111713)
Fix test_unhandled_exceptions() of test_asyncio.test_streams: break
explicitly a reference cycle.

Fix also StreamTests.tearDown(): the loop must not be closed
explicitly, but using set_event_loop() which takes care of shutting
down the executor with executor.shutdown(wait=True).
BaseEventLoop.close() calls executor.shutdown(wait=False).
2023-11-04 00:47:07 +00:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
functional.py
test_base_events.py gh-110771: Decompose run_forever() into parts (#110773) 2023-10-13 14:12:32 +00:00
test_buffered_proto.py
test_context.py
test_eager_task_factory.py gh-109653: Remove unused imports in the `Lib/` directory (#109803) 2023-09-24 15:07:23 +01:00
test_events.py gh-110088: Fix asyncio test_prompt_cancellation() (#110157) 2023-09-30 22:40:10 +02:00
test_futures.py gh-101326: Fix regression when passing None to FutureIter.throw (#101327) 2023-01-25 12:01:01 -08:00
test_futures2.py GH-96764: rewrite `asyncio.wait_for` to use `asyncio.timeout` (#98518) 2023-02-17 00:18:21 +05:30
test_locks.py gh-97545: Make Semaphore run faster. (#97549) 2022-09-26 16:38:00 -07:00
test_pep492.py GH-102748: remove legacy support for generator based coroutines from `asyncio.iscoroutine` (#102749) 2023-03-16 20:28:10 +05:30
test_proactor_events.py gh-103607: Fix `pause_reading` to work when called from `connection_made` in `asyncio`. (#17425) 2023-04-27 15:33:29 +05:30
test_protocols.py
test_queues.py
test_runners.py gh-94597: Add asyncio.EventLoop (#110723) 2023-10-12 07:13:57 -07:00
test_selector_events.py gh-106527: asyncio: optimize to add/remove readers and writers (#106528) 2023-07-22 21:07:40 +00:00
test_sendfile.py gh-111347: Remove wrong assertion in test_sendfile (#111377) 2023-10-29 08:22:15 -07:00
test_server.py gh-79033: Try to fix asyncio.Server.wait_closed() again (GH-111336) 2023-10-28 18:04:29 +00:00
test_sock_lowlevel.py gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) 2023-09-07 01:58:03 +02:00
test_ssl.py gh-102515: Remove unused imports in the `Lib/` directory (#102516) 2023-03-08 11:45:38 +00:00
test_sslproto.py gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) 2023-09-07 01:58:03 +02:00
test_streams.py gh-111644: Fix asyncio test_unhandled_exceptions() (#111713) 2023-11-04 00:47:07 +00:00
test_subprocess.py Add support.MS_WINDOWS constant (#110446) 2023-10-06 02:37:28 +02:00
test_taskgroups.py gh-111085: Fix invalid state handling in TaskGroup and Timeout (#111111) 2023-10-21 22:18:34 +03:00
test_tasks.py gh-105331: Change `asyncio.sleep` to raise ``ValueError` for nan (#105641) 2023-06-12 20:29:02 +00:00
test_threads.py
test_timeouts.py gh-111085: Fix invalid state handling in TaskGroup and Timeout (#111111) 2023-10-21 22:18:34 +03:00
test_transports.py
test_unix_events.py gh-110335: asyncio test_unix_events cleans multiprocessing (#110336) 2023-10-04 09:19:08 +00:00
test_waitfor.py gh-110088, gh-109878: Fix test_asyncio timeouts (#110092) 2023-09-29 11:49:30 +00:00
test_windows_events.py gh-110088, gh-109878: Fix test_asyncio timeouts (#110092) 2023-09-29 11:49:30 +00:00
test_windows_utils.py
utils.py gh-110205: Fix asyncio ThreadedChildWatcher._join_threads() (#110884) 2023-10-27 15:44:12 -07:00