Fix unit_Test.ClientTest following 108015aa22

Closes #604
This commit is contained in:
David Wilson 2019-07-31 13:18:18 +01:00
parent 2fede49078
commit b75198396d
1 changed files with 1 additions and 1 deletions

View File

@ -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)