test_ignores_other_types() — anthropic-sdk-python Function Reference
Architecture documentation for the test_ignores_other_types() function in test_deepcopy.py from the anthropic-sdk-python codebase.
Entity Profile
Dependency Diagram
graph TD 2fe9714a_e17b_31ea_5dc4_238b4dbdae29["test_ignores_other_types()"] 5a5ceb11_6dab_b4b1_afa8_f2e3fd683d45["test_deepcopy.py"] 2fe9714a_e17b_31ea_5dc4_238b4dbdae29 -->|defined in| 5a5ceb11_6dab_b4b1_afa8_f2e3fd683d45 7a0993a2_ddf9_b5c7_120a_32ffa329db69["assert_different_identities()"] 2fe9714a_e17b_31ea_5dc4_238b4dbdae29 -->|calls| 7a0993a2_ddf9_b5c7_120a_32ffa329db69 style 2fe9714a_e17b_31ea_5dc4_238b4dbdae29 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_deepcopy.py lines 47–58
def test_ignores_other_types() -> None:
# custom classes
my_obj = MyObject()
obj1 = {"foo": my_obj}
obj2 = deepcopy_minimal(obj1)
assert_different_identities(obj1, obj2)
assert obj1["foo"] is my_obj
# tuples
obj3 = ("a", "b")
obj4 = deepcopy_minimal(obj3)
assert obj3 is obj4
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_ignores_other_types() do?
test_ignores_other_types() is a function in the anthropic-sdk-python codebase, defined in tests/test_deepcopy.py.
Where is test_ignores_other_types() defined?
test_ignores_other_types() is defined in tests/test_deepcopy.py at line 47.
What does test_ignores_other_types() call?
test_ignores_other_types() 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