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

This commit is contained in:
2025-07-30 15:58:05 +02:00
parent a6bfc0aaf1
commit e98acbadae
+4 -4
View File
@@ -98,9 +98,9 @@ def test_float_alignment_in_bar():
# Expected formatted values using format_sizeof
expected_values = [
" 1.3/100.1",
" 12.5/100.1",
" 99.9/100.1",
"1.3/100.1",
"12.5/100.1",
"99.9/100.1",
"100.0/100.1",
"100.1/100.1",
]
@@ -108,7 +108,7 @@ def test_float_alignment_in_bar():
# Extract the actual padded float/total strings from the full lines
values = []
for line in lines:
match = re.search(r"(\s*\d{1,3}\.\d)/100\.1", line)
match = re.search(r"(\d{1,3}\.\d)/100\.1", line)
if match:
values.append(match.group(0))