mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-09 12:50:23 -05:00
No I think this is requests/urllib3 again
This commit is contained in:
parent
018acbb93c
commit
1b96519a35
1 changed files with 4 additions and 0 deletions
|
@ -411,6 +411,10 @@ def test_http_connect_bad_auth(self, handler, ctx):
|
||||||
with pytest.raises(ProxyError):
|
with pytest.raises(ProxyError):
|
||||||
ctx.proxy_info_request(rh)
|
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):
|
def test_http_connect_http_error(self, handler, ctx):
|
||||||
with ctx.http_server(HTTPConnectProxyHandler, username='http_error', password='test') as server_address:
|
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:
|
with handler(verify=False, proxies={ctx.REQUEST_PROTO: f'http://http_error:test@{server_address}'}) as rh:
|
||||||
|
|
Loading…
Reference in a new issue