diff options
Diffstat (limited to 'Lib')
-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'): |