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
__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
test_futures2.py
test_locks.py
test_pep492.py
test_proactor_events.py
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
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
test_ssl.py
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
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