From 6cb26473c7b8dfe2e51d0042deb0ddb161ec6d3a Mon Sep 17 00:00:00 2001 From: CJYLZS <691086891@qq.com> Date: Mon, 20 Apr 2026 17:14:19 +0800 Subject: [PATCH] fix(tests): keep anthropic thinking coverage unique Rename the duplicate Anthropic streaming thinking test so pytest collects both the thinking_delta and signature_delta assertions instead of silently overwriting one. Made-with: Cursor --- ...thropic_experimental_pass_through_adapters_transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_litellm/llms/anthropic/experimental_pass_through/adapters/test_anthropic_experimental_pass_through_adapters_transformation.py b/tests/test_litellm/llms/anthropic/experimental_pass_through/adapters/test_anthropic_experimental_pass_through_adapters_transformation.py index 321efb22bb7..c780710244b 100644 --- a/tests/test_litellm/llms/anthropic/experimental_pass_through/adapters/test_anthropic_experimental_pass_through_adapters_transformation.py +++ b/tests/test_litellm/llms/anthropic/experimental_pass_through/adapters/test_anthropic_experimental_pass_through_adapters_transformation.py @@ -573,7 +573,7 @@ def test_translate_openai_content_to_anthropic_thinking_and_redacted_thinking(): assert result[1]["data"] == "REDACTED" -def test_translate_streaming_openai_chunk_to_anthropic_with_thinking(): +def test_translate_streaming_openai_chunk_to_anthropic_with_signature(): choices = [ StreamingChoices( finish_reason=None,