From b107b01a4aa1fb1c0602ebe26db02e6b1241aca6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Jul 2026 07:25:06 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/tests/test_offline_guard_refcount.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/studio/backend/tests/test_offline_guard_refcount.py b/studio/backend/tests/test_offline_guard_refcount.py index c4c07c0ea0..fedadd87d7 100644 --- a/studio/backend/tests/test_offline_guard_refcount.py +++ b/studio/backend/tests/test_offline_guard_refcount.py @@ -125,9 +125,9 @@ def test_nonforce_never_extends_forced_window(clean_env): assert forced.__enter__() is True assert plain.__enter__() is False forced.__exit__(None, None, None) - assert "HF_HUB_OFFLINE" not in os.environ, ( - "the forced owner's exit restores; the ordinary no-op guard holds nothing" - ) + assert ( + "HF_HUB_OFFLINE" not in os.environ + ), "the forced owner's exit restores; the ordinary no-op guard holds nothing" plain.__exit__(None, None, None) assert "HF_HUB_OFFLINE" not in os.environ