Skip to content

Commit 0ed728c

Browse files
committed
await assert_empty_iter at the end of test_multi_byte_character_multiple_chunks
1 parent 63f75e3 commit 0ed728c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_streaming.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ def body() -> Iterator[bytes]:
215215
assert sse.event is None
216216
assert sse.json() == {"content": "известни"}
217217

218+
await assert_empty_iter(iterator)
219+
218220

219221
async def to_aiter(iter: Iterator[bytes]) -> AsyncIterator[bytes]:
220222
for chunk in iter:

0 commit comments

Comments
 (0)