code: def test_tqdm_progress_bar_metrics_format(capsys):
      x, y, model = get_data_and_model()
  
      pb = tfa.callbacks.TQDMProgressBar(
          metrics_format="{name}: dodo {value:0.6f}",
          show_overall_progress=False,
      )
      capsys.readouterr()  # flush the buffer
      model.fit(x, y, epochs=1, verbose=0, callbacks=[pb])
      fit_stderr = capsys.readouterr().err
      assert "acc: dodo" in fit_stderr
      assert re.search(
          r"acc: dodo [0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9]", fit_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 6 for calling a global function with example usage: test_tqdm_progress_bar_metrics_format(capsys) without return types