Commit 21a75d75 authored by Denis Bilenko's avatar Denis Bilenko

test_socketserver.py: put unix domain sockets in /tmp/

otherwise it does not seem to work inside parallels on a mounted directory
parent 07bb13f9
...@@ -124,7 +124,7 @@ def pickaddr(proto): ...@@ -124,7 +124,7 @@ def pickaddr(proto):
if proto == socket.AF_INET: if proto == socket.AF_INET:
return (host, pickport()) return (host, pickport())
else: else:
fn = TESTFN + str(pickport()) fn = '/tmp/' + TESTFN + str(pickport())
if os.name == 'os2': if os.name == 'os2':
# AF_UNIX socket names on OS/2 require a specific prefix # AF_UNIX socket names on OS/2 require a specific prefix
# which can't include a drive letter and must also use # which can't include a drive letter and must also use
......
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