diff --git a/tests/test_utils_tqdm_mod.py b/tests/test_utils_tqdm_mod.py index ba1a1bbc1..63fb73fbb 100644 --- a/tests/test_utils_tqdm_mod.py +++ b/tests/test_utils_tqdm_mod.py @@ -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))