mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-02-07 08:46:30 +01:00
Only skip wss tests
This commit is contained in:
parent
6282570bb2
commit
82cceaed31
1 changed files with 4 additions and 2 deletions
|
@ -394,8 +394,10 @@ class TestHTTPProxy:
|
||||||
('Websockets', 'wss')
|
('Websockets', 'wss')
|
||||||
], indirect=True)
|
], indirect=True)
|
||||||
@pytest.mark.skip_handler_if(
|
@pytest.mark.skip_handler_if(
|
||||||
'Websockets', lambda _: platform.python_implementation() == 'PyPy',
|
'Websockets', lambda request:
|
||||||
'PyPy sometimes fails with these tests, unknown reason')
|
(platform.python_implementation() == 'PyPy'
|
||||||
|
and request.getfixturevalue('ctx').REQUEST_PROTO == 'wss'),
|
||||||
|
'PyPy sometimes fails with wss tests, unknown reason')
|
||||||
class TestHTTPConnectProxy:
|
class TestHTTPConnectProxy:
|
||||||
def test_http_connect_no_auth(self, handler, ctx):
|
def test_http_connect_no_auth(self, handler, ctx):
|
||||||
with ctx.http_server(HTTPConnectProxyHandler) as server_address:
|
with ctx.http_server(HTTPConnectProxyHandler) as server_address:
|
||||||
|
|
Loading…
Add table
Reference in a new issue