mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-01 12:05:26 +02:00
No I think this is requests/urllib3 again
This commit is contained in:
parent
018acbb93c
commit
1b96519a35
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user