Skip to content

Commit 26571e7

Browse files
Hiroki MizukamiCopilot
andcommitted
fix(test): add multimodal param to fake_responses_with_cache mock
The mock was missing the explicit multimodal parameter, causing it to leak into **api_kwargs and fail the assertion. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5fdd8ab commit 26571e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pandas_ext/test_series_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def fake_infer_schema(self, instructions: str, max_examples: int = 100, **api_kw
9191
captured["infer_kwargs"] = dict(api_kwargs)
9292
return SimpleNamespace(inference_prompt="inferred prompt", model=str)
9393

94-
async def fake_responses_with_cache(self, instructions: str, cache, response_format=str, **api_kwargs):
94+
async def fake_responses_with_cache(self, instructions: str, cache, response_format=str, multimodal=False, **api_kwargs):
9595
captured["responses_kwargs"] = dict(api_kwargs)
9696
captured["instructions"] = instructions
9797
captured["response_format"] = response_format

0 commit comments

Comments
 (0)