diff --git a/tests/test_progress.py b/tests/test_progress.py index f79b4cd9..34a8e8c1 100644 --- a/tests/test_progress.py +++ b/tests/test_progress.py @@ -309,8 +309,8 @@ def test_track_thread() -> None: with track_thread: track_thread.completed = 1 - sleep(0.2) - assert progress.tasks[task_id].completed == 1 + sleep(0.3) + assert progress.tasks[task_id].completed >= 1 track_thread.completed += 1