From 6caa0c196372cc63716ac2d0917eab50434717a6 Mon Sep 17 00:00:00 2001 From: webtecnica Date: Wed, 23 Sep 2026 11:24:48 -0300 Subject: [PATCH] fix(lint): clean up unused import and variable in test_issue7600 --- tests/test_issue7600_oob_display_writeback.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_issue7600_oob_display_writeback.py b/tests/test_issue7600_oob_display_writeback.py index b141ee52..3edb7183 100644 --- a/tests/test_issue7600_oob_display_writeback.py +++ b/tests/test_issue7600_oob_display_writeback.py @@ -16,7 +16,7 @@ import copy import json from api.models import Session -from api.streaming import _settle_result_messages, _unwrap_single_oob_frame, _unwrap_steer_row_oob_marker +from api.streaming import _settle_result_messages, _unwrap_steer_row_oob_marker from api import streaming as _streaming PROMPT = "please run the smoke checks" @@ -143,9 +143,8 @@ def test_settle_leaves_legacy_tool_rows_alone(monkeypatch): assert tool_text in tool_bodies -def test_settle_preserves_malformed_nested_and_multiple_blocks_byte_for_byte(monkeypatch): +def test_settle_preserves_malformed_nested_and_multiple_blocks_byte_for_byte(): """Nested markers, multiple frames, and incomplete markers degrade gracefully.""" - session = _session_with_prior_turn() nested = f"{OOB_OPEN}\nhello {OOB_VARIANT} world\n{OOB_CLOSE}" multiple = f"{OOB_VARIANT} and {OOB_BLOCK}" incomplete = "[OUT-OF-BAND USER MESSAGE — truncated"