code: def test_scm_context_no_track_on_ignore_remove(tmp_dir, dvc, scm):
      # DVC should not keep track of file when nothing actually changed
      # i.e. here ignore was reverted back.
      scm.ignore(tmp_dir / "foo")
      with dvc.scm_context:
          dvc.scm_context.ignore_remove(tmp_dir / "foo")
          assert not dvc.scm_context.files_to_track
  
      scm._reset()
      assert not scm.is_ignored("foo")
  
label_desc: Use image node_id 6 for calling a global function with example usage: test_scm_context_no_track_on_ignore_remove(tmp_dir, dvc, scm) without return types