diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 8222c0b084b..e6cdb8b2cc2 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -311,7 +311,8 @@ 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', 'freebsd6', 'darwin'): + if sys.platform in ('linux2', 'freebsd4', 'freebsd5', 'freebsd6', + 'darwin'): # avoid the 'echo' service on this platform, as there is an # assumption breaking non-standard port/protocol entry services = ('daytime', 'qotd', 'domain')