From 93f4402198b770e652b05027c04746db93165552 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Conchillo=20Flaqu=C3=A9?= Date: Tue, 10 Feb 2026 18:19:57 -0800 Subject: [PATCH] Update stream close test to match new _closing helper --- tests/test_openai_llm_timeout.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/test_openai_llm_timeout.py b/tests/test_openai_llm_timeout.py index 4ba459a29..f7876f02f 100644 --- a/tests/test_openai_llm_timeout.py +++ b/tests/test_openai_llm_timeout.py @@ -149,13 +149,9 @@ async def test_openai_llm_stream_closed_on_cancellation(): def __init__(self): self.iteration_count = 0 - async def __aenter__(self): - return self - - async def __aexit__(self, exc_type, exc_val, exc_tb): + async def close(self): nonlocal stream_closed stream_closed = True - return False def __aiter__(self): return self