diff --git a/tests/test_core/test_lib/test_timeout.py b/tests/test_core/test_lib/test_timeout.py index 0b33eea5..c4386eba 100644 --- a/tests/test_core/test_lib/test_timeout.py +++ b/tests/test_core/test_lib/test_timeout.py @@ -21,8 +21,8 @@ def assert_remaining(t: Timeout, time: float | None): t.remaining() else: # prevent rounding errors - assert abs(t.remaining() - time) < 0.000_000_1 - assert abs(t.remaining_or_none() - time) < 0.000_000_1 + assert abs(t.remaining() - time) < 0.000_001 + assert abs(t.remaining_or_none() - time) < 0.000_001 def test_timeout_init():