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

Function test_circular_reference

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

Source from the content-addressed store, hash-verified

103
104
105def test_circular_reference():
106 original = []
107 original.append(original)
108 copy_obj = safe_deepcopy(original)
109 assert copy_obj is not original
110 assert copy_obj[0] is copy_obj
111
112
113def test_deepcopy_object_without_dict():

Callers

nothing calls this directly

Calls 1

safe_deepcopyFunction · 0.90

Tested by

no test coverage detected