code: def test_scm_context_ignore_remove(tmp_dir, scm, dvc):
      scm.ignore(tmp_dir / "foo")
      scm.ignore(tmp_dir / "bar")
  
      with dvc.scm_context:
          dvc.scm_context.ignore_remove(tmp_dir / "foo")
          assert dvc.scm_context.files_to_track == {scm.GITIGNORE}
  
      scm._reset()
      assert not scm.is_ignored("foo")
  
label_desc: Use image node_id 4 for calling a global function with example usage: test_scm_context_ignore_remove(tmp_dir, scm, dvc) without return types