diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index d831ba7565cf5f6..fd2e0a14e33d521 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -1302,7 +1302,8 @@ def testGetServBy(self): # protocol, at least for modern Linuxes. if ( sys.platform.startswith( - ('linux', 'android', 'freebsd', 'netbsd', 'gnukfreebsd')) + ('linux', 'android', 'freebsd', 'dragonfly', 'netbsd', + 'gnukfreebsd')) or is_apple ): # avoid the 'echo' service on this platform, as there is an