From d66d35349f0531b27d2854fa8a28062132fec61c Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Wed, 3 Jul 2024 22:16:03 -0700 Subject: [PATCH] test(test_prompt_factory.py): fix test --- litellm/tests/test_prompt_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/tests/test_prompt_factory.py b/litellm/tests/test_prompt_factory.py index 5a368f92d..2dd3fc4c4 100644 --- a/litellm/tests/test_prompt_factory.py +++ b/litellm/tests/test_prompt_factory.py @@ -127,7 +127,7 @@ def test_anthropic_messages_pt(): messages = [] with pytest.raises(Exception) as err: anthropic_messages_pt(messages) - assert "Invalid first message." in str(err.value) + assert "Invalid first message" in str(err.value) # codellama_prompt_format()