]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-154289: Fix test_socket.testGetServBy on DragonFly (GH-154290) (GH-154294)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Jul 2026 20:00:01 +0000 (22:00 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2026 20:00:01 +0000 (20:00 +0000)
commit9a52f94c5722056a735c10307a63d4f6f7e79050
tree870e6713dfbd88dae1741ed2f02cf06ad2cd00ee
parent6747bcf2ac1237a78275cd2279f0336f243752f7
[3.15] gh-154289: Fix test_socket.testGetServBy on DragonFly (GH-154290) (GH-154294)

DragonFly lists "echo 4/ddp" before "echo 7/tcp" in /etc/services, like
FreeBSD, so avoid the "echo" service there too.
(cherry picked from commit 96059f9446510f594c4148d53bd1a4e3532af697)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Lib/test/test_socket.py