mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
EMX fork() emulation not good enough to cope with test_socketserver
This commit is contained in:
parent
34d3e2d22a
commit
c6fff897d7
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue