Home / Function/ test_nested_dict() — anthropic-sdk-python Function Reference

test_nested_dict() — anthropic-sdk-python Function Reference

Architecture documentation for the test_nested_dict() function in test_deepcopy.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  52cb3e56_3a8a_6461_49ae_12fdd8d9159f["test_nested_dict()"]
  5a5ceb11_6dab_b4b1_afa8_f2e3fd683d45["test_deepcopy.py"]
  52cb3e56_3a8a_6461_49ae_12fdd8d9159f -->|defined in| 5a5ceb11_6dab_b4b1_afa8_f2e3fd683d45
  7a0993a2_ddf9_b5c7_120a_32ffa329db69["assert_different_identities()"]
  52cb3e56_3a8a_6461_49ae_12fdd8d9159f -->|calls| 7a0993a2_ddf9_b5c7_120a_32ffa329db69
  style 52cb3e56_3a8a_6461_49ae_12fdd8d9159f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_deepcopy.py lines 15–19

def test_nested_dict() -> None:
    obj1 = {"foo": {"bar": True}}
    obj2 = deepcopy_minimal(obj1)
    assert_different_identities(obj1, obj2)
    assert_different_identities(obj1["foo"], obj2["foo"])

Subdomains

Frequently Asked Questions

What does test_nested_dict() do?
test_nested_dict() is a function in the anthropic-sdk-python codebase, defined in tests/test_deepcopy.py.
Where is test_nested_dict() defined?
test_nested_dict() is defined in tests/test_deepcopy.py at line 15.
What does test_nested_dict() call?
test_nested_dict() calls 1 function(s): assert_different_identities.

Analyze Your Own Codebase

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

Try Supermodel Free