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_return_iterable_exclude_unset ______________________
def test_return_iterable_exclude_unset():
response = client.get("/iterable_exclude_unset")
> assert response.json() == [{"x": None, "y": "y"}]
E AssertionError: assert [{'w': None, ...y', 'z': 'z'}] == [{'x': None, 'y': 'y'}]
E
E At index 0 diff: {'w': None, 'x': None, 'y': 'y', 'z': 'z'} != {'x': None, 'y': 'y'}
E Use -v to get more diff
tests/test_skip_defaults.py:115: AssertionError
=============================== warnings summary ===============================
../../../../../../Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-1.6.0-py3-none-any/starlette/testclient.py:53
/Users/jp/repos/kaggle-gemini-coding-agent-post-training/.envs/overlays/starlette-1.6.0-py3-none-any/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
1 failed, 5 passed, 1 warning in 0.59s