From fad02274ba28189f28f5af536b8ea0ecddf9df55 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sat, 25 Sep 2021 09:33:01 +0200 Subject: [PATCH] test: Remove Windows workaround in authproxy This reverts commit fab98992043f47fa7240d7c1217920d0c4f783a2. --- test/functional/test_framework/authproxy.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/functional/test_framework/authproxy.py b/test/functional/test_framework/authproxy.py index 81eb8812345..c4ffd1fbf63 100644 --- a/test/functional/test_framework/authproxy.py +++ b/test/functional/test_framework/authproxy.py @@ -113,10 +113,8 @@ class AuthServiceProxy(): self.__conn.request(method, path, postdata, headers) return self._get_response() except OSError as e: - retry = ( - '[WinError 10053] An established connection was aborted by the software in your host machine' in str(e)) # Workaround for a bug on macOS. See https://bugs.python.org/issue33450 - retry = retry or ('[Errno 41] Protocol wrong type for socket' in str(e)) + retry = '[Errno 41] Protocol wrong type for socket' in str(e) if retry: self.__conn.close() self.__conn.request(method, path, postdata, headers)