failed NO_PATCH NO_PATCH UNSUBMITTED empty_patch(None) · None tool calls · 0 s · fastapi/fastapi
(not found in data/tasks.jsonl)
| # | Tool | Arguments | Result |
|---|---|---|---|
| No trace captured. | |||
....F
=================================== FAILURES ===================================
___________________ test_traceback_for_dependency_with_yield ___________________
def test_traceback_for_dependency_with_yield():
client = TestClient(app, raise_server_exceptions=True)
with pytest.raises(ValueError) as exc_info:
client.get("/dependency-with-yield")
last_frame = exc_info.traceback[-1]
> assert str(last_frame.path) == __file__
E AssertionError: assert '/private/tmp...oncurrency.py' == '/private/tmp...n_handlers.py'
E
E Skipping 50 identical leading characters in diff, use -v to show
E - workspace/tests/test_exception_handlers.py
E + workspace/fastapi/concurrency.py
tests/test_exception_handlers.py:87: AssertionError
=============================== warnings summary ===============================
../../../../../../Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-0.41.3-py3-none-any/starlette/testclient.py:40
/Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-0.41.3-py3-none-any/starlette/testclient.py:40: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
_PortalFactoryType = typing.Callable[[], typing.ContextManager[anyio.abc.BlockingPortal]]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
1 failed, 4 passed, 1 warning in 0.50s