From e98acbadae78e0f5ac54d0b5fbbe56188ed6189d Mon Sep 17 00:00:00 2001 From: tligui_y Date: Wed, 30 Jul 2025 15:58:05 +0200 Subject: [PATCH] Update tests/test_utils_tqdm_mod.py --- tests/test_utils_tqdm_mod.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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))