code: def test_tqdm_progress_bar_evaluate(capsys):
      x, y, model = get_data_and_model()
  
      pb = tfa.callbacks.TQDMProgressBar()
      capsys.readouterr()  # flush the buffer
      model.evaluate(x, y, callbacks=[pb], verbose=0)
      evaluate_stderr = capsys.readouterr().err
      assert re.search(
          r"loss: [0-9]\.[0-9][0-9][0-9][0-9]", evaluate_stderr
      )
      assert re.search(
          r"acc: [0-9]\.[0-9][0-9][0-9][0-9]", evaluate_stderr
      )
  
file_path: addons/tensorflow_addons/callbacks/tests/tqdm_progress_bar_test.py
imports: import re
  import numpy
  import pytest
  import tensorflow
  import tensorflow_addons
label_desc: Use image node_id 9 for calling a global function with example usage: test_tqdm_progress_bar_evaluate(capsys) without return types