code: def test_progress_tqdm(self, mock_stderr) -> None:
      try:
          import tqdm  # noqa: F401
      except ImportError:
          raise unittest.SkipTest(
              "Skipping tqdm test, tqdm not available."
          )
  
      test_data = [1, 3, 5]
  
      progressed = progress(test_data, desc="test progress")
      assert list(progressed) == test_data
      assert "test progress: " in mock_stderr.getvalue()
  
file_path: captum/tests/utils/test_progress.py
imports: import io
  import unittest
  import unittest.mock
  from captum._utils.progress import NullProgress, progress
  from tests.helpers.basic import BaseTest
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_progress_tqdm(mock_stderr) without return types