Skip to content

Commit b1db793

Browse files
akashbangadclaude
andcommitted
style: fix formatting in test file per autoformat.sh
Run pyink autoformatter to fix string quoting and line wrapping as requested by maintainer. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 73d038f commit b1db793

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/unittests/utils/test_streaming_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ async def test_empty_text_with_function_call_non_progressive(self):
363363
assert len(results_empty) == 1
364364
for p in results_empty[0].content.parts:
365365
if p.text is not None:
366-
assert p.text != '', (
366+
assert p.text != "", (
367367
"Empty text part was not stripped — this causes the flow layer "
368368
"to treat it as a final response and skip tool execution"
369369
)
@@ -403,4 +403,6 @@ async def test_empty_text_with_function_call_progressive(self):
403403
assert any(p.function_call for p in closed.content.parts)
404404
for p in closed.content.parts:
405405
if p.text is not None:
406-
assert p.text != '', "Empty text part leaked into progressive aggregation"
406+
assert (
407+
p.text != ""
408+
), "Empty text part leaked into progressive aggregation"

0 commit comments

Comments
 (0)