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