code: def test_apply_diff_seq():
      src = [1]
      dest = [MyInt(1)]
      apply_diff(src, dest)
      assert type(dest[0]) is MyInt, "Does not replace equals"
  
      src = {"l": [1]}
      inner = []
      dest = {"l": inner}
      apply_diff(src, dest)
      assert dest["l"] is inner, "Updates inner lists"
  
file_path: dvc/tests/unit/utils/test_collections.py
imports: import json
  import pytest
  from dvc.utils.collections import apply_diff, merge_dicts, remove_missing_keys, to_omegaconf
  from dvc.utils.serialize import dumps_yaml
label_desc: Use image node_id 3 for calling a global function with example usage: test_apply_diff_seq() without return types