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 |")