From 66565f96b1eec371c51ad4ef5608735202624384 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Sat, 3 Feb 2024 21:44:57 -0800 Subject: [PATCH] test(test_completion.py): fix test --- litellm/tests/test_completion.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index 9f36df50bd1..eb334e4f1e2 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -44,6 +44,8 @@ def test_completion_custom_provider_model_name(): # Add any assertions here to check the, response print(response) print(response["choices"][0]["finish_reason"]) + except litellm.Timeout as e: + pass except Exception as e: pytest.fail(f"Error occurred: {e}")