test_async_exception_handling_non_tool_exception() — langchain Function Reference
Architecture documentation for the test_async_exception_handling_non_tool_exception() function in test_tools.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 29623408_bc7a_73dd_258a_882e34ff8e98["test_async_exception_handling_non_tool_exception()"] 8e7836ae_e72c_f670_72a5_4ca6d46e3555["test_tools.py"] 29623408_bc7a_73dd_258a_882e34ff8e98 -->|defined in| 8e7836ae_e72c_f670_72a5_4ca6d46e3555 style 29623408_bc7a_73dd_258a_882e34ff8e98 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/test_tools.py lines 842–845
async def test_async_exception_handling_non_tool_exception() -> None:
tool_ = _FakeExceptionTool(exception=ValueError("some error"))
with pytest.raises(ValueError, match="some error"):
await tool_.arun({})
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_async_exception_handling_non_tool_exception() do?
test_async_exception_handling_non_tool_exception() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/test_tools.py.
Where is test_async_exception_handling_non_tool_exception() defined?
test_async_exception_handling_non_tool_exception() is defined in libs/core/tests/unit_tests/test_tools.py at line 842.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free