]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Being bsd-based, darwin/macosx has the same limitation w.r.t. the "echo"
authorSkip Montanaro <skip@pobox.com>
Mon, 16 Aug 2004 15:35:54 +0000 (15:35 +0000)
committerSkip Montanaro <skip@pobox.com>
Mon, 16 Aug 2004 15:35:54 +0000 (15:35 +0000)
service.

Lib/test/test_socket.py

index 18061fe0144d3161603d39b01594fee257277400..4e0e2429476be6b5f01ec862433aa41ceefb0fbe 100644 (file)
@@ -311,7 +311,7 @@ class GeneralModuleTests(unittest.TestCase):
         # 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')