From bb9563cf9a31fb6ed5831a7071c914dddd8265a4 Mon Sep 17 00:00:00 2001 From: Weimr2627 <134630546+Weimr2627@users.noreply.github.com> Date: Fri, 6 Nov 2026 18:24:48 +0800 Subject: [PATCH] test(chat): annotate the fixture-shadowing history test signatures for ruff F811 Signed-off-by: Weimr2627 <134630546+Weimr2627@users.noreply.github.com> --- tests/test_chat_codex_history.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_chat_codex_history.py b/tests/test_chat_codex_history.py index 263c4cdab8..052c6c892e 100644 --- a/tests/test_chat_codex_history.py +++ b/tests/test_chat_codex_history.py @@ -11,7 +11,7 @@ from test_native_steward_private import steward # noqa: F401 -def test_source_revocation_during_history_compaction_preserves_original_audience(steward, monkeypatch): +def test_source_revocation_during_history_compaction_preserves_original_audience(steward, monkeypatch): # noqa: F811 import threading from concurrent.futures import ThreadPoolExecutor @@ -50,7 +50,7 @@ def native_start(**kwargs): @pytest.mark.parametrize("action", ["stop", "close"]) -def test_native_history_preparation_observes_user_stop_before_its_adapter_lock(conversation, monkeypatch, action): +def test_native_history_preparation_observes_user_stop_before_its_adapter_lock(conversation, monkeypatch, action): # noqa: F811 import threading from concurrent.futures import ThreadPoolExecutor @@ -102,7 +102,7 @@ def restore(): @pytest.mark.parametrize("change", ["close", "settings", "requested-model"]) -def test_history_guard_rechecks_after_native_start_before_publishing(conversation, monkeypatch, change): +def test_history_guard_rechecks_after_native_start_before_publishing(conversation, monkeypatch, change): # noqa: F811 from test_chat_manager_model_adoption import Adapter root, store, runtime, session, _ = conversation sid = session["session_id"]