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 4486578 commit 1ffbe5eCopy full SHA for 1ffbe5e
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 <= (now - start) < keep_alive
+ assert recv_timeout <= round(now - start, 2) <= keep_alive
53
54
55
if __name__ == "__main__":
0 commit comments