Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit 2a1bb6b

Browse files
committed
create mock instance
1 parent 94924ae commit 2a1bb6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/system/test_retry_streaming_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ async def test_async_streaming_retry_sleep_generator(
296296
with mock.patch("random.uniform") as mock_uniform:
297297
# make sleep generator deterministic
298298
mock_uniform.side_effect = lambda a, b: b
299-
with mock.patch("asyncio.sleep", mock.AsyncMock) as mock_sleep:
299+
with mock.patch("asyncio.sleep", mock.AsyncMock()) as mock_sleep:
300300
it = await async_sequence.attempt_streaming_sequence(
301301
name=seq.name, retry=retry
302302
)

0 commit comments

Comments
 (0)