Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

test(cost): wrap overlong us data residency test declaration

mateo-berridbe52a80c1c9
diff --git a/tests/test_litellm/test_cost_calculator.py b/tests/test_litellm/test_cost_calculator.py
index 952e6c46f38..e44ae342d0a 100644
--- a/tests/test_litellm/test_cost_calculator.py
+++ b/tests/test_litellm/test_cost_calculator.py
@@ -2844,7 +2844,9 @@ def test_anthropic_geo_and_fast_multipliers_compose(_local_model_cost_map, monke
"model",
["claude-sonnet-4-6", "claude-mythos-5", "claude-mythos-preview"],
)
-def test_anthropic_us_data_residency_uplift_on_claude_4_6_and_later_models(_local_model_cost_map, monkeypatch, model):
+def test_anthropic_us_data_residency_uplift_on_claude_4_6_and_later_models(
+ _local_model_cost_map, monkeypatch, model
+):
"""
Anthropic bills every Claude 4.6+ model served with ``inference_geo="us"`` at
1.1x, and echoes that geo back in the response usage, so each of these real