def METHOD_NAME(capsys):
    showtable.main([os.path.join(FITS_ROOT, "data/table.fits")])
    out, err = capsys.readouterr()
    assert out.splitlines() == [
        " target V_mag",
        "------- -----",
        "NGC1001  11.1",
        "NGC1002  12.3",
        "NGC1003  15.2",
    ]