diff options
| author | Brett Cannon <bcannon@gmail.com> | 2004-11-20 21:10:07 (GMT) | 
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2004-11-20 21:10:07 (GMT) | 
| commit | 08febebf96f3dfdb63ca6dcffb3c248ff54a6f99 (patch) | |
| tree | 4e08d0c834cb5034e7152026962eb092ece5c1fa /Lib/test/test_socket.py | |
| parent | 139af0295cd11c68745ede9a5f1c512b50badbdd (diff) | |
| download | cpython-08febebf96f3dfdb63ca6dcffb3c248ff54a6f99.zip cpython-08febebf96f3dfdb63ca6dcffb3c248ff54a6f99.tar.gz cpython-08febebf96f3dfdb63ca6dcffb3c248ff54a6f99.tar.bz2  | |
Add 'linux2' as one of the platforms that does not use the echo service as one
of the test possiblities for testGetServBy().
Diffstat (limited to 'Lib/test/test_socket.py')
| -rw-r--r-- | Lib/test/test_socket.py | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index 8222c0b..e6cdb8b 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')  | 
