From b75198396d4950fe558c0d6d5a91b64432ca801b Mon Sep 17 00:00:00 2001 From: David Wilson Date: Wed, 31 Jul 2019 13:18:18 +0100 Subject: [PATCH] Fix unit_Test.ClientTest following 108015aa2279133181e0c7e643e6ee8353d8cfa8 Closes #604 --- tests/unix_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unix_test.py b/tests/unix_test.py index cb8c08f5..ba1ba152 100644 --- a/tests/unix_test.py +++ b/tests/unix_test.py @@ -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)