From b630d274b535b3739701bd25b8ce44f806afbfbf Mon Sep 17 00:00:00 2001 From: tligui_y Date: Fri, 29 Aug 2025 11:06:34 +0200 Subject: [PATCH] Update tests/test_utils_rangebar.py --- tests/test_utils_rangebar.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_utils_rangebar.py b/tests/test_utils_rangebar.py index cea04735b..2936b515d 100644 --- a/tests/test_utils_rangebar.py +++ b/tests/test_utils_rangebar.py @@ -3,7 +3,6 @@ import pytest import os import sys -# pour s'assurer que slic est bien importable sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from slic.utils.rangebar import RangeBar @@ -41,7 +40,7 @@ def test_zero_progress_bar(capsys): with RangeBar(0, 100, width=10, units="kg", fmt=".0f") as bar: bar.show(0) - expected_bar = f"{' ' * 10}" # pas de bloc au tout début + expected_bar = f"{' ' * 10}" # not bloc at the start captured = capsys.readouterr() lines = captured.out.strip("\r\n").split("\r") assert lines[0].startswith("[ 0 kg |")