diff --git a/artiq/test/test_ctlmgr.py b/artiq/test/test_ctlmgr.py index 5acdcc1f9..a0a694740 100644 --- a/artiq/test/test_ctlmgr.py +++ b/artiq/test/test_ctlmgr.py @@ -50,7 +50,8 @@ class ControllerCase(unittest.TestCase): except asyncio.TimeoutError: timeout -= dt except (ConnectionAbortedError, ConnectionError, - ConnectionRefusedError, ConnectionResetError): + ConnectionRefusedError, ConnectionResetError, + OSError): await asyncio.sleep(dt) timeout -= dt raise asyncio.TimeoutError