]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109015: Add test.support.socket_helper.tcp_blackhole() (GH-109016) (#109041)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 8 Sep 2023 13:12:29 +0000 (06:12 -0700)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 13:12:29 +0000 (15:12 +0200)
commitc9dc2bc0de367308fbac1ab01a3e9ccb8cd6f5ba
tree963d03aaec3dc64e4460fb7afbdde0a2dcadf54e
parent579d78227627abf7edca0637de167e27946dc276
[3.12] gh-109015: Add test.support.socket_helper.tcp_blackhole() (GH-109016) (#109041)

gh-109015: Add test.support.socket_helper.tcp_blackhole() (GH-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)

Co-authored-by: Victor Stinner <vstinner@python.org>
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]