Kaydet (Commit) 08febebf authored tarafından Brett Cannon's avatar Brett Cannon

Add 'linux2' as one of the platforms that does not use the echo service as one

of the test possiblities for testGetServBy().
üst 139af029
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment