def METHOD_NAME(capsys):
    x, y, model = get_data_and_model()
    epoch_bar_format = "{n_fmt} {bar} ETA: dodo {remaining}s - {desc}"
    pb = tfa.callbacks.TQDMProgressBar(
        epoch_bar_format=epoch_bar_format, show_overall_progress=False
    )
    capsys.readouterr()  # flush the buffer
    model.fit(x, y, batch_size=4, epochs=2, verbose=0, callbacks=[pb])
    fit_stderr = capsys.readouterr().err
    assert "/3" not in fit_stderr