mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-02 14:37:21 +00:00
[test:websockets] Fix timeout test on Windows (#9344)
Authored by: seproDev
This commit is contained in:
parent
11ffa92a61
commit
ac340d0745
|
@ -192,8 +192,8 @@ def test_raise_http_error(self, handler, status):
|
|||
|
||||
@pytest.mark.parametrize('handler', ['Websockets'], indirect=True)
|
||||
@pytest.mark.parametrize('params,extensions', [
|
||||
({'timeout': 0.00001}, {}),
|
||||
({}, {'timeout': 0.00001}),
|
||||
({'timeout': sys.float_info.min}, {}),
|
||||
({}, {'timeout': sys.float_info.min}),
|
||||
])
|
||||
def test_timeout(self, handler, params, extensions):
|
||||
with handler(**params) as rh:
|
||||
|
|
Loading…
Reference in a new issue