Kaydet (Commit) c6fff897 authored tarafından Andrew MacIntyre's avatar Andrew MacIntyre

EMX fork() emulation not good enough to cope with test_socketserver

üst 34d3e2d2
...@@ -124,10 +124,10 @@ def testloop(proto, servers, hdlrcls, testfunc): ...@@ -124,10 +124,10 @@ def testloop(proto, servers, hdlrcls, testfunc):
if verbose: print "done" if verbose: print "done"
tcpservers = [TCPServer, ThreadingTCPServer] tcpservers = [TCPServer, ThreadingTCPServer]
if hasattr(os, 'fork'): if hasattr(os, 'fork') and os.name not in ('os2',):
tcpservers.append(ForkingTCPServer) tcpservers.append(ForkingTCPServer)
udpservers = [UDPServer, ThreadingUDPServer] udpservers = [UDPServer, ThreadingUDPServer]
if hasattr(os, 'fork'): if hasattr(os, 'fork') and os.name not in ('os2',):
udpservers.append(ForkingUDPServer) udpservers.append(ForkingUDPServer)
if not hasattr(socket, 'AF_UNIX'): if not hasattr(socket, 'AF_UNIX'):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment