test_run_multiple_args_error() — langchain Function Reference
Architecture documentation for the test_run_multiple_args_error() function in test_base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD d263f99a_a27b_940d_be0f_8f0227eeab11["test_run_multiple_args_error()"] cbc5b920_9825_eac5_8cc4_bc8187fb214c["test_base.py"] d263f99a_a27b_940d_be0f_8f0227eeab11 -->|defined in| cbc5b920_9825_eac5_8cc4_bc8187fb214c style d263f99a_a27b_940d_be0f_8f0227eeab11 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/tests/unit_tests/chains/test_base.py lines 122–126
def test_run_multiple_args_error() -> None:
"""Test run method with multiple args errors as expected."""
chain = FakeChain()
with pytest.raises(ValueError, match="`run` supports only one positional argument"):
chain.run("bar", "foo")
Domain
Subdomains
Source
Frequently Asked Questions
What does test_run_multiple_args_error() do?
test_run_multiple_args_error() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/chains/test_base.py.
Where is test_run_multiple_args_error() defined?
test_run_multiple_args_error() is defined in libs/langchain/tests/unit_tests/chains/test_base.py at line 122.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free