Skip to content

Commit

Permalink
[test:websockets] Fix timeout test on Windows (yt-dlp#9344)
Browse files Browse the repository at this point in the history
Authored by: seproDev
  • Loading branch information
seproDev authored Mar 4, 2024
1 parent 11ffa92 commit ac340d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_websockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ac340d0

Please sign in to comment.