code: def test_remove(tmp_dir):
      tmp_dir.gen({"foo": "foo content"})
      path = "foo"
  
      remove(path)
      assert not os.path.isfile(path)
  
imports: import os
  import pytest
  import dvc
  from dvc.fs import system
  from dvc.utils import relpath
  from dvc.utils.fs import BasePathNotInCheckedPathException, contains_symlink_up_to, path_isin, remove
label_desc: Use image node_id 9 for calling a global function with example usage: test_remove(tmp_dir) without return types