Skip to content

Commit 2fb567c

Browse files
fix run sync test
1 parent f84ffae commit 2fb567c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integrations/pydantic_ai/test_pydantic_ai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def failing_model(messages, info):
222222
)
223223

224224
with pytest.raises(RuntimeError, match="model exploded"):
225-
await agent.run("Test input")
225+
agent.run_sync("Test input")
226226

227227
print("events", len(events))
228228
(error, transaction) = events

0 commit comments

Comments
 (0)