MCPcopy
hub / github.com/SWE-agent/mini-swe-agent / test_empty_nested_dicts

Function test_empty_nested_dicts

tests/utils/test_serialize.py:84–89  ·  view source on GitHub ↗

Test merging with empty nested dictionaries.

()

Source from the content-addressed store, hash-verified

82
83
84def test_empty_nested_dicts():
85 """Test merging with empty nested dictionaries."""
86 dict1 = {"a": {}}
87 dict2 = {"a": {"x": 1}}
88 assert recursive_merge(dict1, dict2) == {"a": {"x": 1}}
89 assert recursive_merge(dict2, dict1) == {"a": {"x": 1}}
90
91
92def test_complex_nested_structure():

Callers

nothing calls this directly

Calls 1

recursive_mergeFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…