Home / Function/ test_dict_int_op_max_depth_exceeded() — langchain Function Reference

test_dict_int_op_max_depth_exceeded() — langchain Function Reference

Architecture documentation for the test_dict_int_op_max_depth_exceeded() function in test_usage.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  9e3ae10d_4420_eca4_eff2_6765756d1906["test_dict_int_op_max_depth_exceeded()"]
  65a4c465_09cd_7d1a_7340_aaf3bfe764ad["test_usage.py"]
  9e3ae10d_4420_eca4_eff2_6765756d1906 -->|defined in| 65a4c465_09cd_7d1a_7340_aaf3bfe764ad
  style 9e3ae10d_4420_eca4_eff2_6765756d1906 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/utils/test_usage.py lines 29–35

def test_dict_int_op_max_depth_exceeded() -> None:
    left = {"a": {"b": {"c": 1}}}
    right = {"a": {"b": {"c": 2}}}
    with pytest.raises(
        ValueError, match="max_depth=2 exceeded, unable to combine dicts"
    ):
        _dict_int_op(left, right, operator.add, max_depth=2)

Domain

Subdomains

Frequently Asked Questions

What does test_dict_int_op_max_depth_exceeded() do?
test_dict_int_op_max_depth_exceeded() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/utils/test_usage.py.
Where is test_dict_int_op_max_depth_exceeded() defined?
test_dict_int_op_max_depth_exceeded() is defined in libs/core/tests/unit_tests/utils/test_usage.py at line 29.

Analyze Your Own Codebase

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

Try Supermodel Free