From f854d86d2f378ca9e926080c2e329acca7d6b170 Mon Sep 17 00:00:00 2001 From: igorls <4753812+igorls@users.noreply.github.com> Date: Sat, 2 May 2026 23:00:08 -0300 Subject: [PATCH] style: ruff format tests/test_backends.py (PR #1322) --- tests/test_backends.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_backends.py b/tests/test_backends.py index 5a4eb4b..4ddfe12 100644 --- a/tests/test_backends.py +++ b/tests/test_backends.py @@ -730,9 +730,9 @@ def test_make_client_quarantines_only_on_first_call_per_palace(tmp_path, monkeyp ChromaBackend.make_client(palace_path) ChromaBackend.make_client(palace_path) - assert calls == [palace_path], ( - "quarantine_stale_hnsw should fire once per palace per process, not on every reconnect" - ) + assert calls == [ + palace_path + ], "quarantine_stale_hnsw should fire once per palace per process, not on every reconnect" def test_make_client_quarantines_each_palace_independently(tmp_path, monkeypatch): @@ -820,9 +820,9 @@ def test_client_quarantines_only_on_first_call_per_palace(tmp_path, monkeypatch) finally: backend.close() - assert calls == [palace_path], ( - "quarantine_stale_hnsw should fire once per palace per process from _client(), not on every call" - ) + assert ( + calls == [palace_path] + ), "quarantine_stale_hnsw should fire once per palace per process from _client(), not on every call" # ── _pin_hnsw_threads (per-process retrofit, separate from this PR's gate) ──