cpython/Lib/test/test_asyncio
Martijn Pieters 1ff0238594
GH-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (#113334)
When wrapped, `_SSLProtocolTransport._force_close(exc)` is called just like in the unwrapped scenario `_SelectorTransport._force_close(exc)` or `_ProactorBasePipeTransport._force_close(exc)` would be called, except here the exception needs to be passed through the `SSLProtocol._abort()` method, which didn't accept an exception object.

This commit ensures that this path works, in the same way that the uvloop implementation of SSLProto passes on the exception (on which the current implementation of SSLProto is based).
2023-12-20 15:09:01 -08: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 gh-110771: Decompose run_forever() into parts (#110773) 2023-10-13 14:12:32 +00: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_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 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-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-111246: Remove listening Unix socket on close (#111483) 2023-11-08 08:10:10 -08: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-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (#113334) 2023-12-20 15:09:01 -08:00
test_streams.py gh-112186: Improve test case test_loop_is_closed_resource_warnings (#112187) 2023-11-19 03:21:34 +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 bpo-47104: Rewrite asyncio.to_thread tests to use IsolatedAsyncioTestCase (GH-32086) 2022-03-23 23:17:07 +02:00
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 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 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 bpo-44287: asyncio test_popen() uses longer timeout (GH-26832) 2021-06-22 01:58:19 +02:00
utils.py gh-110205: Fix asyncio ThreadedChildWatcher._join_threads() (#110884) 2023-10-27 15:44:12 -07:00