diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 14865bac0646e62..a0943a6e58e95ad 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -1294,7 +1294,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