Being bsd-based, darwin/macosx has the same limitation w.r.t. the "echo"
service.
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py
index 18061fe..4e0e242 100644
--- a/Lib/test/test_socket.py
+++ b/Lib/test/test_socket.py
@@ -311,7 +311,7 @@
         # Find one service that exists, then check all the related interfaces.
         # I've ordered this by protocols that have both a tcp and udp
         # protocol, at least for modern Linuxes.
-        if sys.platform in ('freebsd4', 'freebsd5'):
+        if sys.platform in ('freebsd4', 'freebsd5', 'darwin'):
             # avoid the 'echo' service on this platform, as there is an
             # assumption breaking non-standard port/protocol entry
             services = ('daytime', 'qotd', 'domain')