Home / Function/ test__get_messages_invalid() — langchain Function Reference

test__get_messages_invalid() — langchain Function Reference

Architecture documentation for the test__get_messages_invalid() function in test_runner_utils.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  2dc8aa81_3b85_61fc_9298_df07bdfc86c1["test__get_messages_invalid()"]
  c6cd417d_d0bc_a309_dd34_61e338d2ac18["test_runner_utils.py"]
  2dc8aa81_3b85_61fc_9298_df07bdfc86c1 -->|defined in| c6cd417d_d0bc_a309_dd34_61e338d2ac18
  style 2dc8aa81_3b85_61fc_9298_df07bdfc86c1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/smith/evaluation/test_runner_utils.py lines 226–228

def test__get_messages_invalid(inputs: dict[str, Any]) -> None:
    with pytest.raises(InputFormatError):
        _get_messages(inputs)

Domain

Subdomains

Frequently Asked Questions

What does test__get_messages_invalid() do?
test__get_messages_invalid() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/smith/evaluation/test_runner_utils.py.
Where is test__get_messages_invalid() defined?
test__get_messages_invalid() is defined in libs/langchain/tests/unit_tests/smith/evaluation/test_runner_utils.py at line 226.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free