From d0694667edda2377011ce33f1f19695d006c753d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 16:54:20 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/tests/test_pricing.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/studio/backend/tests/test_pricing.py b/studio/backend/tests/test_pricing.py index bc1bce579c..704e4a4fc7 100644 --- a/studio/backend/tests/test_pricing.py +++ b/studio/backend/tests/test_pricing.py @@ -527,9 +527,7 @@ def test_anthropic_chat_style_prompt_tokens_dedupes_cache_buckets(): assert _isclose(chat["cache_write_usd"], raw["cache_write_usd"]), (chat, raw) assert _isclose(chat["cache_read_usd"], raw["cache_read_usd"]), (chat, raw) assert _isclose(chat["total_usd"], raw["total_usd"]), (chat, raw) - assert ( - chat["billable_input_tokens"] == raw["billable_input_tokens"] - ), (chat, raw) + assert chat["billable_input_tokens"] == raw["billable_input_tokens"], (chat, raw) def test_openai_chat_style_prompt_tokens_keeps_cache_read_semantics():