cpython/Lib/test/test_asyncio
Miss Islington (bot) 192711856b
[3.12] GH-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (GH-113334) (#113339)
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).

(cherry picked from commit 1ff0238594)

Co-authored-by: Martijn Pieters <mj@zopatista.com>
2023-12-20 16:51:36 -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
test_base_events.py [3.12] gh-110088, gh-109878: Fix test_asyncio timeouts (#110092) (#110098) 2023-10-02 19:35:29 +00:00
test_buffered_proto.py
test_context.py
test_eager_task_factory.py [3.12] gh-105987: Fix reference counting issue in `_asyncio._swap_cur… (#106099) 2023-06-26 08:51:28 +00:00
test_events.py [3.12] gh-110088, gh-109878: Fix test_asyncio timeouts (#110092) (#110098) 2023-10-02 19:35:29 +00: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 bpo-47076: Make asyncio.Queue stable on slow test boxes (GH-32040) 2022-03-22 16:00:23 +02:00
test_runners.py [3.12] gh-107895: Fix test_asyncio.test_runners when run it in CPython's "development mode" (GH-108168) (#108196) 2023-08-21 13:18:04 +02:00
test_selector_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_sendfile.py [3.12] gh-111347: Remove wrong assertion in test_sendfile (GH-111377) (#111461) 2023-10-29 10:29:29 -07:00
test_server.py [3.12] gh-79033: Try to fix asyncio.Server.wait_closed() again (GH-111336) (#111424) 2023-10-28 18:42:53 +00:00
test_sock_lowlevel.py [3.12] gh-109015: Add test.support.socket_helper.tcp_blackhole() (GH-109016) (#109041) 2023-09-08 15:12:29 +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 [3.12] GH-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (GH-113334) (#113339) 2023-12-20 16:51:36 -08:00
test_streams.py [3.12] gh-112186: Improve test case test_loop_is_closed_resource_warnings (GH-112187) (#112255) 2023-11-19 07:19:12 -08:00
test_subprocess.py [3.12] Add support.MS_WINDOWS constant (#110446) (#110452) 2023-10-06 01:26:14 +00:00
test_taskgroups.py [3.12] gh-111085: Fix invalid state handling in TaskGroup and Timeout (GH-111111) (GH-111171) 2023-10-21 19:48:53 +00:00
test_tasks.py gh-103793: Defer formatting task name (#103767) 2023-04-29 08:20:09 -07: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 [3.12] gh-111085: Fix invalid state handling in TaskGroup and Timeout (GH-111111) (GH-111171) 2023-10-21 19:48:53 +00:00
test_transports.py
test_unix_events.py [3.12] gh-110335: asyncio test_unix_events cleans multiprocessing (GH-110336) (#110338) 2023-10-04 12:33:14 +02:00
test_waitfor.py [3.12] gh-110088, gh-109878: Fix test_asyncio timeouts (#110092) (#110098) 2023-10-02 19:35:29 +00:00
test_windows_events.py [3.12] gh-110088, gh-109878: Fix test_asyncio timeouts (#110092) (#110098) 2023-10-02 19:35:29 +00:00
test_windows_utils.py
utils.py [3.12] gh-110205: Fix asyncio ThreadedChildWatcher._join_threads() (GH-110884) (#111412) 2023-10-27 16:36:05 -07:00