docstr: Test TQDM cannot be forced when globally disabled.
docstr_tok: ["Test","TQDM","can","not","be","forced","when","globally","disabled","."]
code: def test_tqdm_disabled_cannot_be_forced(self) -> None:
      """Test TQDM cannot be forced when globally disabled."""
      disable_progress_bars()
      for _ in tqdm(range(10), disable=False):
          pass
  
      captured = self.capsys.readouterr()
      self.assertEqual(captured.out, "")
      self.assertEqual(captured.err, "")
  
file_path: huggingface_hub/tests/test_utils_tqdm.py
imports: import time
  import unittest
  from pathlib import Path
  from unittest.mock import patch
  import pytest
  from pytest import CaptureFixture
  from huggingface_hub.utils import SoftTemporaryDirectory, are_progress_bars_disabled, disable_progress_bars, enable_progress_bars, tqdm, tqdm_stream_file
label_desc: Use image node_id 8 for calling the TestTqdmUtils obj's underlying member method code with example usage: obj.test_tqdm_disabled_cannot_be_forced() without return types