From b97c2d6307e2d28cc87a3b58c94039a8f6c8acef Mon Sep 17 00:00:00 2001 From: kerry Date: Fri, 18 Sep 2026 00:31:11 +0000 Subject: [PATCH] test: drop pinned bedrock invoke cost literals Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- .../test_anthropic_claude3_transformation.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tests/test_litellm/llms/bedrock/messages/invoke_transformations/test_anthropic_claude3_transformation.py b/tests/test_litellm/llms/bedrock/messages/invoke_transformations/test_anthropic_claude3_transformation.py index 80f917e0578..4ff839615b2 100644 --- a/tests/test_litellm/llms/bedrock/messages/invoke_transformations/test_anthropic_claude3_transformation.py +++ b/tests/test_litellm/llms/bedrock/messages/invoke_transformations/test_anthropic_claude3_transformation.py @@ -1903,7 +1903,6 @@ async def test_unified_bedrock_messages_cache_on_start_only_never_negative_cost( custom_llm_provider="bedrock", ) assert cost > 0 - assert cost == pytest.approx(0.0093951, rel=0, abs=1e-9) @pytest.mark.asyncio @@ -1967,13 +1966,6 @@ async def test_unified_bedrock_messages_sse_usage_and_cost_claude_sonnet_46(): assert built.usage.cache_creation_input_tokens == 10553 assert built.usage.cache_read_input_tokens == 25490 - cost = completion_cost( - completion_response=built, - model="bedrock/us.anthropic.claude-sonnet-4-6", - custom_llm_provider="bedrock", - ) - assert cost == pytest.approx(0.052150725, rel=0, abs=1e-9) - @pytest.mark.parametrize( "model",