MCPcopy Create free account
hub / github.com/cdgriffith/Box / MyDict

Class MyDict

test/test_box.py:2155–2156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2153
2154def test_merge_lists_merge_intact_dict_type():
2155 class MyDict(dict):
2156 pass
2157
2158 bx = Box({"m": [MyDict(a=1)]}, box_intact_types=(MyDict,))
2159 bx.merge_update({"m": [{"b": 2}]}, box_merge_lists="merge")

Calls

no outgoing calls

Tested by 1