MCPcopy
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / test_deepcopy_simple_dict

Function test_deepcopy_simple_dict

tests/utils/copy_utils_test.py:52–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51
52def test_deepcopy_simple_dict():
53 original = {"a": 1, "b": 2, "c": [3, 4, 5]}
54 copy_obj = safe_deepcopy(original)
55 assert copy_obj == original
56 assert copy_obj is not original
57 assert copy_obj["c"] is not original["c"]
58
59
60def test_deepcopy_simple_list():

Callers

nothing calls this directly

Calls 1

safe_deepcopyFunction · 0.90

Tested by

no test coverage detected