diff options
author | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-01-02 12:49:00 (GMT) |
---|---|---|
committer | Andrew MacIntyre <andymac@bullseye.apana.org.au> | 2003-01-02 12:49:00 (GMT) |
commit | c6fff897d7464a15cdcbab723b170d223b906004 (patch) | |
tree | 29f5b3f78b43d9fac1da472d3736145a9cc7fd86 /Lib/test/test_socketserver.py | |
parent | 34d3e2d22a168f094ddf030984d19ca39d6e9860 (diff) | |
download | cpython-c6fff897d7464a15cdcbab723b170d223b906004.zip cpython-c6fff897d7464a15cdcbab723b170d223b906004.tar.gz cpython-c6fff897d7464a15cdcbab723b170d223b906004.tar.bz2 |
EMX fork() emulation not good enough to cope with test_socketserver
Diffstat (limited to 'Lib/test/test_socketserver.py')
-rw-r--r-- | Lib/test/test_socketserver.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index 29c8c37..36396da 100644 --- a/Lib/test/test_socketserver.py +++ b/Lib/test/test_socketserver.py @@ -124,10 +124,10 @@ def testloop(proto, servers, hdlrcls, testfunc): if verbose: print "done" tcpservers = [TCPServer, ThreadingTCPServer] -if hasattr(os, 'fork'): +if hasattr(os, 'fork') and os.name not in ('os2',): tcpservers.append(ForkingTCPServer) udpservers = [UDPServer, ThreadingUDPServer] -if hasattr(os, 'fork'): +if hasattr(os, 'fork') and os.name not in ('os2',): udpservers.append(ForkingUDPServer) if not hasattr(socket, 'AF_UNIX'): |