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 6f0762e commit 4f6f1e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_core/test_lib/test_timeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ def assert_remaining(t: Timeout, time: float | None):
assert t.remaining_or_none() is None
with pytest.raises(TimeoutNotRunningError):
t.remaining()
elif isinstance(time, int):
assert t.remaining() == time
assert t.remaining_or_none() == time
else:
# prevent rounding errors
assert abs(t.remaining() - time) < 0.000_000_1
Expand Down

0 comments on commit 4f6f1e9

Please sign in to comment.