Update tests/test_utils_tqdm_mod.py
Run CI Tests / test (push) Successful in 38s

This commit is contained in:
2025-07-30 15:12:27 +02:00
parent 53f377d3ff
commit afa00ba1f1
+5 -4
View File
@@ -53,10 +53,11 @@ def test_set_progress_multiple_points():
lines = extract_lines(f.getvalue(), "SetBar")
for i, (expected_progress, expected_value) in enumerate([
("20%", "1.00/5.00"),
("40%", "2.00/5.00"),
("70%", "3.50/5.00"),
("100%", "5.00/5.00"),
("0%", "0/5")
("20%", "1/5"),
("40%", "2/5"),
("70%", "3.5/5.0"),
("100%", "5/5"),
]):
assert re.search(r"^SetBar:\s+" + re.escape(expected_progress), lines[i])
assert expected_value in lines[i]