code: def match_files(files, expected_files):
      left = {(f["path"], f["isout"]) for f in files}
      right = {
          (os.path.join(*args), isout)
          for (args, isout) in expected_files
      }
      assert left == right
  
imports: import os
  import shutil
  import textwrap
  from operator import itemgetter
  import pytest
  from dvc.repo import Repo
  from dvc.scm import CloneError
label_desc: Use image node_id 1 for calling a global function with example usage: match_files(files, expected_files) without return types