mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-01-30 20:34:40 +01:00
Skip HTTP Connect proxy tests for websockets if using PyPy
This commit is contained in:
parent
8c0d5041df
commit
66a8530617
1 changed files with 3 additions and 0 deletions
|
@ -392,6 +392,9 @@ class TestHTTPProxy:
|
|||
('Websockets', 'ws'),
|
||||
('Websockets', 'wss')
|
||||
], indirect=True)
|
||||
@pytest.mark.skip_handler_if(
|
||||
'Websockets', lambda _: platform.python_implementation() == 'PyPy',
|
||||
'PyPy sometimes fails with these tests, unknown reason')
|
||||
class TestHTTPConnectProxy:
|
||||
def test_http_connect_no_auth(self, handler, ctx):
|
||||
with ctx.http_server(HTTPConnectProxyHandler) as server_address:
|
||||
|
|
Loading…
Add table
Reference in a new issue