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: while True:
try: try:
return mitogen.unix.connect(path) return mitogen.unix.connect(path)
except socket.error: except mitogen.unix.ConnectError:
if time.time() > timeout: if time.time() > timeout:
raise raise
time.sleep(0.1) time.sleep(0.1)

Loading…
Cancel
Save