From 03c540ec7927fc93522ce33cc150a782cad6c08f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 28 Jul 2026 22:25:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/studio/test_model_picker_contracts.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/studio/test_model_picker_contracts.py b/tests/studio/test_model_picker_contracts.py index 69f42ea7dc..9cdf00a0c1 100644 --- a/tests/studio/test_model_picker_contracts.py +++ b/tests/studio/test_model_picker_contracts.py @@ -1062,9 +1062,9 @@ def test_a_standalone_gguf_is_resident_despite_its_derived_quant(): "(settingsTargetIsStandaloneFile || ggufVariantsMatch(activeGgufVariant, settingsTarget.ggufVariant))" in hub ) - backend = ( - WORKDIR / "studio" / "backend" / "core" / "inference" / "llama_cpp.py" - ).read_text(encoding = "utf-8") - assert "self._hf_variant = _extract_quant_label(gguf_path)" in backend, ( - "the derived label this accounts for" + backend = (WORKDIR / "studio" / "backend" / "core" / "inference" / "llama_cpp.py").read_text( + encoding = "utf-8" ) + assert ( + "self._hf_variant = _extract_quant_label(gguf_path)" in backend + ), "the derived label this accounts for"