From c6fff897d7464a15cdcbab723b170d223b906004 Mon Sep 17 00:00:00 2001 From: Andrew MacIntyre Date: Thu, 2 Jan 2003 12:49:00 +0000 Subject: EMX fork() emulation not good enough to cope with test_socketserver --- Lib/test/test_socketserver.py | 4 ++-- 1 file 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'): -- cgit v0.12