From: Andrew MacIntyre Date: Thu, 2 Jan 2003 12:49:00 +0000 (+0000) Subject: EMX fork() emulation not good enough to cope with test_socketserver X-Git-Tag: v2.3c1~2656 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6fff897d7464a15cdcbab723b170d223b906004;p=python EMX fork() emulation not good enough to cope with test_socketserver --- diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py index 29c8c37d22..36396daa6f 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'):