Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemanspiff2007 committed Jan 31, 2024
1 parent 4f6f1e9 commit edfd209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_core/test_lib/test_timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit edfd209

Please sign in to comment.