|
| 1 | +........................................................................ [ 10%] |
| 2 | +........................................................................ [ 20%] |
| 3 | +........................................................................ [ 30%] |
| 4 | +........................................................................ [ 40%] |
| 5 | +........................................................................ [ 51%] |
| 6 | +........................................................................ [ 61%] |
| 7 | +........................................................................ [ 71%] |
| 8 | +........................................................................ [ 81%] |
| 9 | +........................................................................ [ 92%] |
| 10 | +........................................................ [100%] |
| 11 | +=============================== warnings summary =============================== |
| 12 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_async_status[True-error] |
| 13 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_async_wrap_future_exception |
| 14 | +tests/strands/tools/mcp/test_mcp_client.py::test_enter_with_initialization_exception |
| 15 | +tests/strands/tools/mcp/test_mcp_instrumentation.py::TestTransportContextExtractingReader::test_aiter_with_session_message_and_pydantic_meta |
| 16 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:2247: RuntimeWarning: coroutine 'MCPClient._create_call_tool_coroutine.<locals>._call_tool_direct' was never awaited |
| 17 | + def __init__(self, name, parent): |
| 18 | + Enable tracemalloc to get traceback where the object was allocated. |
| 19 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 20 | + |
| 21 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_async_status[True-error] |
| 22 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_async_wrap_future_exception |
| 23 | +tests/strands/tools/mcp/test_mcp_client.py::test_enter_with_initialization_exception |
| 24 | +tests/strands/tools/mcp/test_mcp_instrumentation.py::TestTransportContextExtractingReader::test_aiter_with_session_message_and_pydantic_meta |
| 25 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:2247: RuntimeWarning: coroutine 'MCPClient._invoke_on_background_thread.<locals>.run_async' was never awaited |
| 26 | + def __init__(self, name, parent): |
| 27 | + Enable tracemalloc to get traceback where the object was allocated. |
| 28 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 29 | + |
| 30 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_async_exception |
| 31 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:799: RuntimeWarning: coroutine 'MCPClient._create_call_tool_coroutine.<locals>._call_tool_direct' was never awaited |
| 32 | + def __setattr__(self, name, value): |
| 33 | + Enable tracemalloc to get traceback where the object was allocated. |
| 34 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 35 | + |
| 36 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_async_exception |
| 37 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:799: RuntimeWarning: coroutine 'MCPClient._invoke_on_background_thread.<locals>.run_async' was never awaited |
| 38 | + def __setattr__(self, name, value): |
| 39 | + Enable tracemalloc to get traceback where the object was allocated. |
| 40 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 41 | + |
| 42 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_async_with_timeout |
| 43 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:502: RuntimeWarning: coroutine 'MCPClient._create_call_tool_coroutine.<locals>._call_tool_direct' was never awaited |
| 44 | + _safe_super(NonCallableMock, self).__init__( |
| 45 | + Enable tracemalloc to get traceback where the object was allocated. |
| 46 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 47 | + |
| 48 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_async_with_timeout |
| 49 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:502: RuntimeWarning: coroutine 'MCPClient._invoke_on_background_thread.<locals>.run_async' was never awaited |
| 50 | + _safe_super(NonCallableMock, self).__init__( |
| 51 | + Enable tracemalloc to get traceback where the object was allocated. |
| 52 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 53 | + |
| 54 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_async_initialization_not_complete |
| 55 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/site-packages/_pytest/stash.py:108: RuntimeWarning: coroutine 'MCPClient._create_call_tool_coroutine.<locals>._call_tool_direct' was never awaited |
| 56 | + del self._storage[key] |
| 57 | + Enable tracemalloc to get traceback where the object was allocated. |
| 58 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 59 | + |
| 60 | +tests/strands/tools/mcp/test_mcp_client.py::test_call_tool_sync_embedded_nested_text |
| 61 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:2247: RuntimeWarning: coroutine 'MCPClient.stop.<locals>._set_close_event' was never awaited |
| 62 | + def __init__(self, name, parent): |
| 63 | + Enable tracemalloc to get traceback where the object was allocated. |
| 64 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 65 | + |
| 66 | +tests/strands/tools/mcp/test_mcp_client_contextvar.py::test_mcp_client_propagates_contextvars_to_background_thread |
| 67 | + <frozen os>:717: RuntimeWarning: coroutine 'MCPClient._create_call_tool_coroutine.<locals>._call_tool_direct' was never awaited |
| 68 | + Enable tracemalloc to get traceback where the object was allocated. |
| 69 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 70 | + |
| 71 | +tests/strands/tools/mcp/test_mcp_client_contextvar.py::test_mcp_client_propagates_contextvars_to_background_thread |
| 72 | + <frozen os>:717: RuntimeWarning: coroutine 'MCPClient._invoke_on_background_thread.<locals>.run_async' was never awaited |
| 73 | + Enable tracemalloc to get traceback where the object was allocated. |
| 74 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 75 | + |
| 76 | +tests/strands/tools/mcp/test_mcp_client_tool_provider.py::test_remove_consumer_cleanup_failure |
| 77 | +tests/strands/tools/mcp/test_mcp_client_tool_provider.py::test_list_tools_sync_prefix_uses_constructor_default_when_none |
| 78 | +tests/strands/tools/mcp/test_mcp_client_tool_provider.py::test_list_tools_sync_tool_filters_override_with_empty_dict |
| 79 | +tests/strands/tools/mcp/test_mcp_config.py::TestCreateMcpClientFromConfig::test_streamable_http_with_headers |
| 80 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:2247: RuntimeWarning: coroutine 'MCPClient.list_tools_sync.<locals>._list_tools_async' was never awaited |
| 81 | + def __init__(self, name, parent): |
| 82 | + Enable tracemalloc to get traceback where the object was allocated. |
| 83 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 84 | + |
| 85 | +tests/strands/tools/mcp/test_mcp_client_tool_provider.py::test_list_tools_sync_combined_prefix_and_filter_overrides |
| 86 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:493: RuntimeWarning: coroutine 'MCPClient.list_tools_sync.<locals>._list_tools_async' was never awaited |
| 87 | + __dict__['_mock_call_args_list'] = _CallList() |
| 88 | + Enable tracemalloc to get traceback where the object was allocated. |
| 89 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 90 | + |
| 91 | +tests/strands/tools/mcp/test_mcp_client_tool_provider.py::test_list_tools_sync_callable_filter_override |
| 92 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:494: RuntimeWarning: coroutine 'MCPClient.list_tools_sync.<locals>._list_tools_async' was never awaited |
| 93 | + __dict__['_mock_mock_calls'] = _CallList() |
| 94 | + Enable tracemalloc to get traceback where the object was allocated. |
| 95 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 96 | + |
| 97 | +tests/strands/tools/mcp/test_mcp_instrumentation.py::TestTransportContextExtractingReader::test_context_manager_methods |
| 98 | + /opt/hostedtoolcache/Python/3.13.12/x64/lib/python3.13/unittest/mock.py:458: RuntimeWarning: coroutine 'MCPClient.list_tools_sync.<locals>._list_tools_async' was never awaited |
| 99 | + new = type(cls.__name__, bases, {'__doc__': cls.__doc__}) |
| 100 | + Enable tracemalloc to get traceback where the object was allocated. |
| 101 | + See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. |
| 102 | + |
| 103 | +tests/strands/agent/test_agent.py::test_agent__call__passes_invocation_state |
| 104 | + /home/runner/work/sdk-python/sdk-python/src/strands/agent/agent.py:538: UserWarning: `**kwargs` parameter is deprecating, use `invocation_state` instead. |
| 105 | + async for event in events: |
| 106 | + |
| 107 | +tests/strands/agent/test_agent.py::test_agent_structured_output |
| 108 | + /home/runner/work/sdk-python/sdk-python/tests/strands/agent/test_agent.py:917: DeprecationWarning: Agent.structured_output method is deprecated. You should pass in `structured_output_model` directly into the agent invocation. see: https://strandsagents.com/latest/documentation/docs/user-guide/concepts/agents/structured-output/ |
| 109 | + tru_result = agent.structured_output(type(user), prompt) |
| 110 | + |
| 111 | +tests/strands/agent/test_agent.py::test_agent_structured_output |
| 112 | +tests/strands/agent/test_agent.py::test_agent_structured_output_multi_modal_input |
| 113 | +tests/strands/agent/test_agent.py::test_agent_structured_output_without_prompt |
| 114 | +tests/strands/agent/test_agent.py::test_agent_structured_output_async |
| 115 | + /home/runner/work/sdk-python/sdk-python/src/strands/_async.py:26: DeprecationWarning: Agent.structured_output_async method is deprecated. You should pass in `structured_output_model` directly into the agent invocation. see: https://strandsagents.com/latest/documentation/docs/user-guide/concepts/agents/structured-output/ |
| 116 | + return await async_func() |
| 117 | + |
| 118 | +tests/strands/agent/test_agent.py::test_agent_structured_output_multi_modal_input |
| 119 | + /home/runner/work/sdk-python/sdk-python/tests/strands/agent/test_agent.py:982: DeprecationWarning: Agent.structured_output method is deprecated. You should pass in `structured_output_model` directly into the agent invocation. see: https://strandsagents.com/latest/documentation/docs/user-guide/concepts/agents/structured-output/ |
| 120 | + tru_result = agent.structured_output(type(user), prompt) |
| 121 | + |
| 122 | +tests/strands/agent/test_agent.py::test_agent_structured_output_in_async_context |
| 123 | + /home/runner/work/sdk-python/sdk-python/tests/strands/agent/test_agent.py:1009: DeprecationWarning: Agent.structured_output_async method is deprecated. You should pass in `structured_output_model` directly into the agent invocation. see: https://strandsagents.com/latest/documentation/docs/user-guide/concepts/agents/structured-output/ |
| 124 | + tru_result = await agent.structured_output_async(type(user), prompt) |
| 125 | + |
| 126 | +tests/strands/agent/test_agent.py::test_agent_structured_output_without_prompt |
| 127 | + /home/runner/work/sdk-python/sdk-python/tests/strands/agent/test_agent.py:1030: DeprecationWarning: Agent.structured_output method is deprecated. You should pass in `structured_output_model` directly into the agent invocation. see: https://strandsagents.com/latest/documentation/docs/user-guide/concepts/agents/structured-output/ |
| 128 | + tru_result = agent.structured_output(type(user)) # No prompt provided |
| 129 | + |
| 130 | +tests/strands/agent/test_agent.py::test_agent_structured_output_async |
| 131 | + /home/runner/work/sdk-python/sdk-python/tests/strands/agent/test_agent.py:1051: DeprecationWarning: Agent.structured_output method is deprecated. You should pass in `structured_output_model` directly into the agent invocation. see: https://strandsagents.com/latest/documentation/docs/user-guide/concepts/agents/structured-output/ |
| 132 | + tru_result = agent.structured_output(type(user), prompt) |
| 133 | + |
| 134 | +tests/strands/agent/test_agent.py::test_stream_async_returns_all_events |
| 135 | +tests/strands/agent/test_agent.py::test_stream_async_passes_invocation_state |
| 136 | + /home/runner/work/sdk-python/sdk-python/tests/conftest.py:91: UserWarning: `**kwargs` parameter is deprecating, use `invocation_state` instead. |
| 137 | + return [item async for item in items] |
| 138 | + |
| 139 | +tests/strands/agent/test_agent.py::test_agent_structured_output_interrupt |
| 140 | + /home/runner/work/sdk-python/sdk-python/tests/strands/agent/test_agent.py:1894: DeprecationWarning: Agent.structured_output method is deprecated. You should pass in `structured_output_model` directly into the agent invocation. see: https://strandsagents.com/latest/documentation/docs/user-guide/concepts/agents/structured-output/ |
| 141 | + agent.structured_output(type(user), "invalid") |
| 142 | + |
| 143 | +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html |
| 144 | +704 passed, 36 warnings in 14.94s |
0 commit comments