mirror of
https://github.com/python/cpython.git
synced 2025-11-09 10:01:42 +00:00
Add 'linux2' as one of the platforms that does not use the echo service as one
of the test possiblities for testGetServBy().
This commit is contained in:
parent
139af0295c
commit
08febebf96
1 changed files with 2 additions and 1 deletions
|
|
@ -311,7 +311,8 @@ def testGetServBy(self):
|
||||||
# Find one service that exists, then check all the related interfaces.
|
# Find one service that exists, then check all the related interfaces.
|
||||||
# I've ordered this by protocols that have both a tcp and udp
|
# I've ordered this by protocols that have both a tcp and udp
|
||||||
# protocol, at least for modern Linuxes.
|
# 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
|
# avoid the 'echo' service on this platform, as there is an
|
||||||
# assumption breaking non-standard port/protocol entry
|
# assumption breaking non-standard port/protocol entry
|
||||||
services = ('daytime', 'qotd', 'domain')
|
services = ('daytime', 'qotd', 'domain')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue