Skip to content

Commit

Permalink
loosen assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-sanche authored Jan 7, 2025
1 parent 42baa6e commit f5067a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/data/_async/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ async def test__manage_channel_sleeps(
assert sleep.call_count == num_cycles
total_sleep = sum([call[0][1] for call in sleep.call_args_list])
assert (
abs(total_sleep - expected_sleep) < 0.1
abs(total_sleep - expected_sleep) < 0.5
), f"refresh_interval={refresh_interval}, num_cycles={num_cycles}, expected_sleep={expected_sleep}"
await client.close()

Expand Down

0 comments on commit f5067a1

Please sign in to comment.