mirror of https://github.com/python/cpython
EMX fork() emulation not good enough to cope with test_socketserver
This commit is contained in:
parent
34d3e2d22a
commit
c6fff897d7
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue