summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_socket.py
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-08-16 15:35:54 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-08-16 15:35:54 (GMT)
commitd4ff2069068278cb61167e5b38de642980606018 (patch)
treee92359182c1527138287b4d0cdaeac661c223fcc /Lib/test/test_socket.py
parent2443d4ab5d42816210a4a2247804d72e5286d2fd (diff)
downloadcpython-d4ff2069068278cb61167e5b38de642980606018.zip
cpython-d4ff2069068278cb61167e5b38de642980606018.tar.gz
cpython-d4ff2069068278cb61167e5b38de642980606018.tar.bz2
Being bsd-based, darwin/macosx has the same limitation w.r.t. the "echo"
service.
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r--Lib/test/test_socket.py2
1 files changed, 1 insertions, 1 deletions
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 @@ 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')