()
| 20 | |
| 21 | |
| 22 | def test_complex_nested_dict() -> None: |
| 23 | obj1 = {"foo": {"bar": [{"hello": "world"}]}} |
| 24 | obj2 = deepcopy_minimal(obj1) |
| 25 | assert_different_identities(obj1, obj2) |
| 26 | assert_different_identities(obj1["foo"], obj2["foo"]) |
| 27 | assert_different_identities(obj1["foo"]["bar"], obj2["foo"]["bar"]) |
| 28 | assert_different_identities(obj1["foo"]["bar"][0], obj2["foo"]["bar"][0]) |
| 29 | |
| 30 | |
| 31 | def test_simple_list() -> None: |
nothing calls this directly
no test coverage detected