From da62cb9eda50e7b0e4e564f2e935591c4c5d8a1a Mon Sep 17 00:00:00 2001 From: allenliang2022 Date: Thu, 13 Aug 2026 18:31:44 +0800 Subject: [PATCH] test(responses_bridge): annotate the new test local as Final --- ..._extras_litellm_responses_transformation_transformation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_litellm/completion_extras/litellm_responses_transformation/test_completion_extras_litellm_responses_transformation_transformation.py b/tests/test_litellm/completion_extras/litellm_responses_transformation/test_completion_extras_litellm_responses_transformation_transformation.py index 6cf2be98f81..75cbfd15c60 100644 --- a/tests/test_litellm/completion_extras/litellm_responses_transformation/test_completion_extras_litellm_responses_transformation_transformation.py +++ b/tests/test_litellm/completion_extras/litellm_responses_transformation/test_completion_extras_litellm_responses_transformation_transformation.py @@ -3,7 +3,7 @@ import json import os import sys import unittest -from typing import List, Optional, Tuple +from typing import Final, List, Optional, Tuple from unittest.mock import ANY, MagicMock, Mock, patch import httpx @@ -3408,6 +3408,6 @@ def test_map_reasoning_effort_rejects_unknown_level(): LiteLLMResponsesTransformationHandler, ) - handler = LiteLLMResponsesTransformationHandler() + handler: Final = LiteLLMResponsesTransformationHandler() assert handler._map_reasoning_effort("banana") is None