From 1b96519a35e244c1aa279a08419fd55918e9ee26 Mon Sep 17 00:00:00 2001 From: coletdjnz Date: Sat, 18 May 2024 12:53:46 +1200 Subject: [PATCH] No I think this is requests/urllib3 again --- test/test_http_proxy.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_http_proxy.py b/test/test_http_proxy.py index 386f38b83..a39c7651f 100644 --- a/test/test_http_proxy.py +++ b/test/test_http_proxy.py @@ -411,6 +411,10 @@ def test_http_connect_bad_auth(self, handler, ctx): with pytest.raises(ProxyError): ctx.proxy_info_request(rh) + @pytest.mark.skip_handler( + 'Requests', + 'bug in urllib3 causes unclosed socket: https://github.com/urllib3/urllib3/issues/3374' + ) def test_http_connect_http_error(self, handler, ctx): with ctx.http_server(HTTPConnectProxyHandler, username='http_error', password='test') as server_address: with handler(verify=False, proxies={ctx.REQUEST_PROTO: f'http://http_error:test@{server_address}'}) as rh: