From 12141a00e3b2eebc076d91782c97a3b386d5cfa2 Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Fri, 17 Jan 2025 16:20:39 -0800 Subject: [PATCH] fix --- tests/client-sdk/inference/test_inference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/client-sdk/inference/test_inference.py b/tests/client-sdk/inference/test_inference.py index 8553f94f0..1ea099756 100644 --- a/tests/client-sdk/inference/test_inference.py +++ b/tests/client-sdk/inference/test_inference.py @@ -339,7 +339,7 @@ def test_image_chat_completion_non_streaming(llama_stack_client, vision_model_id ) message_content = response.completion_message.content.lower().strip() assert len(message_content) > 0 - assert any([expected in message_content for expected in {"dog", "puppy", "pup"}]) + assert any(expected in message_content for expected in {"dog", "puppy", "pup"}) def test_image_chat_completion_streaming(llama_stack_client, vision_model_id):