From 0ed728c61512ba99c097eb6ffb776ec9e31ade85 Mon Sep 17 00:00:00 2001 From: Siddarth Chalasani Date: Wed, 19 Nov 2025 15:37:28 -0800 Subject: [PATCH] await assert_empty_iter at the end of test_multi_byte_character_multiple_chunks --- tests/test_streaming.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_streaming.py b/tests/test_streaming.py index e8bf8f093..23886ffe8 100644 --- a/tests/test_streaming.py +++ b/tests/test_streaming.py @@ -215,6 +215,8 @@ def body() -> Iterator[bytes]: assert sse.event is None assert sse.json() == {"content": "известни"} + await assert_empty_iter(iterator) + async def to_aiter(iter: Iterator[bytes]) -> AsyncIterator[bytes]: for chunk in iter: