We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ffbe5e commit 2d562afCopy full SHA for 2d562af
tests/test_recv_timeout.py
@@ -49,7 +49,7 @@ def test_recv_timeout_vs_keepalive(self) -> None:
49
socket_mock.recv_into.assert_called()
50
51
now = time.monotonic()
52
- assert recv_timeout <= round(now - start, 2) <= keep_alive
+ assert recv_timeout <= (now - start) <= (keep_alive + 0.1)
53
54
55
if __name__ == "__main__":
0 commit comments