Skip to content

Commit c9ce617

Browse files
committed
style(tests): wrap over-long assert line to satisfy pyink
The Pre-commit Linter (pyink 25.12.0, line-length 80) flagged the `assert any(...)` line in test_skip_summarization_non_agent_tool_appends_no_text_part as exceeding the line limit. Wrap the generator expression onto its own line. No behavior change.
1 parent 6f51d9b commit c9ce617

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/unittests/flows/llm_flows/test_functions_simple.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1660,7 +1660,9 @@ def render_widget(tool_context: ToolContext) -> dict:
16601660
assert result_event is not None
16611661
assert result_event.actions.skip_summarization is True
16621662
# The ack is carried only as a function_response part — never as text.
1663-
assert any(p.function_response is not None for p in result_event.content.parts)
1663+
assert any(
1664+
p.function_response is not None for p in result_event.content.parts
1665+
)
16641666
assert all(p.text is None for p in result_event.content.parts)
16651667

16661668

0 commit comments

Comments
 (0)