def METHOD_NAME(capsys):
    showtable.main([os.path.join(FITS_ROOT, "data/table.fits"), "--info"])
    out, err = capsys.readouterr()
    assert out.splitlines() == [
        "<Table length=3>",
        " name   dtype ",
        "------ -------",
        "target bytes20",
        " V_mag float32",
    ]