]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) (#109042)
authorVictor Stinner <vstinner@python.org>
Thu, 7 Sep 2023 00:34:16 +0000 (02:34 +0200)
committerGitHub <noreply@github.com>
Thu, 7 Sep 2023 00:34:16 +0000 (00:34 +0000)
commit1ebe014d62a700514c7dce8fd0b4d6b6d7929835
tree6c9fdcde559e49f1a8cb16b9beeba6b29538ee37
parent1f115a8822e758f262b3dd2180a24ff1ddced19d
[3.11] gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016) (#109042)

gh-109015: Add test.support.socket_helper.tcp_blackhole() (#109016)

Skip test_asyncio, test_imaplib and test_socket tests if FreeBSD TCP
blackhole is enabled (net.inet.tcp.blackhole=2).

(cherry picked from commit a52a3509770f29f940cda9307704908949912276)
Lib/test/support/socket_helper.py
Lib/test/test_asyncio/test_events.py
Lib/test/test_asyncio/test_sock_lowlevel.py
Lib/test/test_asyncio/test_sslproto.py
Lib/test/test_imaplib.py
Lib/test/test_socket.py
Misc/NEWS.d/next/Tests/2023-09-06-18-27-53.gh-issue-109015.1dS1AQ.rst [new file with mode: 0644]