diff --git a/tests/test_utils_run_later.py b/tests/test_utils_run_later.py index d94c725e5..93cabc7af 100644 --- a/tests/test_utils_run_later.py +++ b/tests/test_utils_run_later.py @@ -128,10 +128,9 @@ def test_run_at_tqdm_multiple_updates(monkeypatch): captured = output.getvalue() - print(captured) - - num_bars = captured.count("%") - assert num_bars >= 2 + assert "0%| |" in captured + assert "50%|█████ |" in captured + assert "100%|██████████|" in captured assert "Function done!" in captured