Skip to content

Commit 6f29370

Browse files
committed
Small lint in test_openai.py
1 parent e70956e commit 6f29370

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/models/test_openai.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3076,7 +3076,9 @@ async def test_cache_point_filtering(allow_model_requests: None):
30763076
async def test_cache_point_filtering_responses_model():
30773077
"""Test that CachePoint is filtered out in OpenAI Responses API requests."""
30783078
# Test the static method directly to trigger line 1680
3079-
msg = await OpenAIResponsesModel._map_user_prompt(UserPromptPart(content=['text before', CachePoint(), 'text after'])) # pyright: ignore[reportPrivateUsage]
3079+
msg = await OpenAIResponsesModel._map_user_prompt(
3080+
UserPromptPart(content=['text before', CachePoint(), 'text after'])
3081+
) # pyright: ignore[reportPrivateUsage]
30803082

30813083
# CachePoint should be filtered out, only text content should remain
30823084
assert msg['role'] == 'user'

0 commit comments

Comments
 (0)