From a81945464702e708432b04716040b9bea0f636d8 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 25 Apr 2024 13:31:19 -0700 Subject: [PATCH] test(test_completion.py): fix test to not raise exception if it works --- litellm/tests/test_completion.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litellm/tests/test_completion.py b/litellm/tests/test_completion.py index 1f12f75eec3..1d30f8829bc 100644 --- a/litellm/tests/test_completion.py +++ b/litellm/tests/test_completion.py @@ -1781,7 +1781,6 @@ def test_completion_replicate_llama3(): print("RESPONSE STRING\n", response_str) if type(response_str) != str: pytest.fail(f"Error occurred: {e}") - raise Exception("it worked!") except Exception as e: pytest.fail(f"Error occurred: {e}")