Skip to content

Commit c03864d

Browse files
committed
style: apply pyink formatting and add return type annotations
1 parent 22344c3 commit c03864d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unittests/models/test_litellm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4899,7 +4899,7 @@ async def test_content_to_message_param_anthropic_no_signature_falls_back():
48994899
@pytest.mark.asyncio
49004900
async def test_content_to_message_param_file_uri_mime_fallback_logs_warning(
49014901
caplog,
4902-
):
4902+
) -> None:
49034903
"""Test that falling back to application/octet-stream logs a warning."""
49044904
file_part = types.Part(
49054905
file_data=types.FileData(
@@ -4921,7 +4921,7 @@ async def test_content_to_message_param_file_uri_mime_fallback_logs_warning(
49214921

49224922

49234923
@pytest.mark.asyncio
4924-
async def test_content_to_message_param_function_response_with_extra_parts_propagates_model():
4924+
async def test_content_to_message_param_function_response_with_extra_parts_propagates_model() -> None:
49254925
"""Test that model parameter is propagated in recursive calls for mixed parts."""
49264926
tool_part = types.Part.from_function_response(
49274927
name="load_image",

0 commit comments

Comments
 (0)