We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6406a2f commit 30c2edcCopy full SHA for 30c2edc
tests/test_agent_runner_sync.py
@@ -142,9 +142,9 @@ async def agen():
142
143
try:
144
runner.run_sync(Agent(name="test-agent"), "input")
145
- assert cleanup_markers == [
146
- "done"
147
- ], "Async generators must be finalized after run_sync returns."
+ assert cleanup_markers == ["done"], (
+ "Async generators must be finalized after run_sync returns."
+ )
148
finally:
149
fresh_event_loop_policy.set_event_loop(None)
150
test_loop.close()
0 commit comments