From 8326e1107a4f40812fa25565d4ae412ecab730f8 Mon Sep 17 00:00:00 2001 From: samearth17 Date: Sat, 15 Aug 2026 00:21:34 +0530 Subject: [PATCH] style: fix linting and formatting --- .../messages/test_anthropic_messages_metadata.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/test_litellm/llms/anthropic/experimental_pass_through/messages/test_anthropic_messages_metadata.py b/tests/test_litellm/llms/anthropic/experimental_pass_through/messages/test_anthropic_messages_metadata.py index 2ca454c10ce..03635c41e0f 100644 --- a/tests/test_litellm/llms/anthropic/experimental_pass_through/messages/test_anthropic_messages_metadata.py +++ b/tests/test_litellm/llms/anthropic/experimental_pass_through/messages/test_anthropic_messages_metadata.py @@ -4,7 +4,6 @@ Tests for Anthropic Messages passthrough metadata support. Related issue: https://github.com/BerriAI/litellm/issues/30663 """ -import pytest from litellm.llms.anthropic.experimental_pass_through.messages.transformation import ( AnthropicMessagesConfig, @@ -22,9 +21,9 @@ class TestAnthropicMessagesMetadataSupport: supported_params = self.config.get_supported_anthropic_messages_params( model="claude-sonnet-4-20250514" ) - assert "metadata" in supported_params, ( - "'metadata' should be in supported params for Anthropic Messages passthrough" - ) + assert ( + "metadata" in supported_params + ), "'metadata' should be in supported params for Anthropic Messages passthrough" def test_metadata_appears_exactly_once(self): """Verify 'metadata' is not duplicated in the supported params list.""" @@ -46,4 +45,4 @@ class TestAnthropicMessagesMetadataSupport: "temperature", ] for param in expected_core_params: - assert param in supported_params \ No newline at end of file + assert param in supported_params