[test:websockets] Fix timeout test on Windows (#9344)

Authored by: seproDev
This commit is contained in:
sepro 2024-03-04 17:47:38 +01:00 committed by GitHub
parent 11ffa92a61
commit ac340d0745
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: