Fix unit_Test.ClientTest following 108015aa22

Closes #604
pull/612/head
David Wilson 5 years ago
parent 2fede49078
commit b75198396d

@ -90,7 +90,7 @@ class ClientTest(testlib.TestCase):
while True:
try:
return mitogen.unix.connect(path)
except socket.error:
except mitogen.unix.ConnectError:
if time.time() > timeout:
raise
time.sleep(0.1)

Loading…
Cancel
Save