diff --git a/litellm/tests/test_assistants.py b/litellm/tests/test_assistants.py index 5f565f67cc..d5f047a092 100644 --- a/litellm/tests/test_assistants.py +++ b/litellm/tests/test_assistants.py @@ -198,7 +198,11 @@ async def test_aarun_thread_litellm(sync_mode, provider, is_streaming): ) assert isinstance(messages.data[0], Message) else: - pytest.fail("An unexpected error occurred when running the thread") + pytest.fail( + "An unexpected error occurred when running the thread, {}".format( + run + ) + ) else: added_message = await litellm.a_add_message(**data) @@ -226,4 +230,8 @@ async def test_aarun_thread_litellm(sync_mode, provider, is_streaming): ) assert isinstance(messages.data[0], Message) else: - pytest.fail("An unexpected error occurred when running the thread") + pytest.fail( + "An unexpected error occurred when running the thread, {}".format( + run + ) + )