code: def test_tqdm_progbar(cls, capfd):
      with capfd.disabled():
          o = CapList()
          r = cls("stderr", cbs=[o.append])
          r.install()
          for _ in tqdm.tqdm(range(10)):
              time.sleep(0.1)
          r.uninstall()
          assert len(o) == 1 and o[0].startswith(b"100%")
  
imports: import os
  import re
  import sys
  import time
  import numpy
  import pytest
  import tqdm
  import wandb
label_desc: Use image node_id 3 for calling a global function with example usage: test_tqdm_progbar(cls, capfd) without return types