code: def test_quiet_notty(caplog, capsys):
      with caplog.at_level(logging.INFO, logger="dvc"):
          for _ in Tqdm(range(10)):
              pass
          out_err = capsys.readouterr()
          assert not out_err.out
          if env2bool("DVC_IGNORE_ISATTY"):
              assert "0/10" in out_err.err
          else:
              assert not out_err.err
  
imports: import logging
  from dvc.progress import Tqdm
  from dvc.utils import env2bool
label_desc: Use image node_id 3 for calling a global function with example usage: test_quiet_notty(caplog, capsys) without return types