diff --git a/tests/test_web_websocket_functional.py b/tests/test_web_websocket_functional.py index 0c3bcdd54a5..94280cf45f1 100644 --- a/tests/test_web_websocket_functional.py +++ b/tests/test_web_websocket_functional.py @@ -280,7 +280,7 @@ async def handler(request): await asyncio.sleep(0.08) assert (await aborted) - assert elapsed < 0.201, \ + assert elapsed < 0.25, \ 'close() should have returned before ' \ 'at most 2x timeout.'