mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-26 21:59:08 +01:00
[test:websockets] Fix timeout test on Windows (#9344)
Authored by: seproDev
This commit is contained in:
parent
11ffa92a61
commit
ac340d0745
1 changed files with 2 additions and 2 deletions
|
@ -192,8 +192,8 @@ class TestWebsSocketRequestHandlerConformance:
|
||||||
|
|
||||||
@pytest.mark.parametrize('handler', ['Websockets'], indirect=True)
|
@pytest.mark.parametrize('handler', ['Websockets'], indirect=True)
|
||||||
@pytest.mark.parametrize('params,extensions', [
|
@pytest.mark.parametrize('params,extensions', [
|
||||||
({'timeout': 0.00001}, {}),
|
({'timeout': sys.float_info.min}, {}),
|
||||||
({}, {'timeout': 0.00001}),
|
({}, {'timeout': sys.float_info.min}),
|
||||||
])
|
])
|
||||||
def test_timeout(self, handler, params, extensions):
|
def test_timeout(self, handler, params, extensions):
|
||||||
with handler(**params) as rh:
|
with handler(**params) as rh:
|
||||||
|
|
Loading…
Reference in a new issue