From beb4afab66b2a77c9d668ce853defa4ff2e060b6 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 17 Mar 2024 14:54:21 +0100 Subject: [PATCH] fix ruff tests by running the quiet mode --- tests/tools/test_ruff_works.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tools/test_ruff_works.py b/tests/tools/test_ruff_works.py index 5b35e321..4b44b07b 100644 --- a/tests/tools/test_ruff_works.py +++ b/tests/tools/test_ruff_works.py @@ -87,7 +87,7 @@ def test_cell_with_all_magics(capsys: "CaptureFixture") -> None: """ path = os.path.join("tests", "data", "all_magic_cell.ipynb") - main(["ruff", path]) + main(["ruff", "--quiet", path]) out, err = capsys.readouterr() assert out == "" @@ -105,7 +105,7 @@ def test_ruff_isort(capsys: "CaptureFixture") -> None: """ path = os.path.join("tests", "data", "simple_imports.ipynb") - main(["ruff", path, "--select=I"]) + main(["ruff", "--quiet", path, "--select=I"]) out, err = capsys.readouterr() assert out == ""