Skip to content

Commit

Permalink
fix: proper timing for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kryukov committed Aug 4, 2023
1 parent 7640b77 commit f738071
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def test_sync_executor_sleeps(cls):
for _ in range(2):
pool.submit(time.sleep, 1)

with assert_takes(more=3.5):
with assert_takes(more=1.5):
with cls(1) as pool:
with assert_takes(more=3):
with assert_takes(more=1):
for _ in range(2):
pool.submit(time.sleep, 1)

0 comments on commit f738071

Please sign in to comment.