code: def test_scm_context_remind_disable(caplog, scm_context):
      with scm_context(quiet=True) as context:
          context.track_file("foo")
          assert context.files_to_track == {"foo"}
      assert not caplog.text
  
      assert scm_context.quiet is False
      scm_context.quiet = True
      with scm_context() as context:
          context.track_file("foo")
          assert context.files_to_track == {"foo"}
      assert not caplog.text
  
file_path: dvc/tests/unit/repo/test_scm_context.py
imports: import re
  import pytest
  from dvc.repo.scm_context import SCMContext
  from dvc.scm import Git, NoSCM
label_desc: Use image node_id 12 for calling a global function with example usage: test_scm_context_remind_disable(caplog, scm_context) without return types