MCPcopy
hub / github.com/openai/openai-python / test_copies_top_level_dict

Method test_copies_top_level_dict

tests/test_files.py:61–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59
60class TestDeepcopyWithPaths:
61 def test_copies_top_level_dict(self) -> None:
62 original = {"file": b"data", "other": "value"}
63 result = deepcopy_with_paths(original, [["file"]])
64 assert_different_identities(result, original)
65
66 def test_file_value_is_same_reference(self) -> None:
67 file_bytes = b"contents"

Callers

nothing calls this directly

Calls 2

deepcopy_with_pathsFunction · 0.90

Tested by

no test coverage detected