Skip to content

Commit fad0227

Browse files
author
MarcoFalke
committed
test: Remove Windows workaround in authproxy
This reverts commit fab9899.
1 parent 747f91c commit fad0227

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/functional/test_framework/authproxy.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,8 @@ def _request(self, method, path, postdata):
113113
self.__conn.request(method, path, postdata, headers)
114114
return self._get_response()
115115
except OSError as e:
116-
retry = (
117-
'[WinError 10053] An established connection was aborted by the software in your host machine' in str(e))
118116
# Workaround for a bug on macOS. See https://bugs.python.org/issue33450
119-
retry = retry or ('[Errno 41] Protocol wrong type for socket' in str(e))
117+
retry = '[Errno 41] Protocol wrong type for socket' in str(e)
120118
if retry:
121119
self.__conn.close()
122120
self.__conn.request(method, path, postdata, headers)

0 commit comments

Comments
 (0)