def METHOD_NAME(capsys):
    showtable.main([os.path.join(ASCII_ROOT, "data/cds.dat"), "--format", "ascii.cds"])
    out, err = capsys.readouterr()
    assert out.splitlines() == [
        "Index RAh RAm  RAs  DE- DEd  DEm    DEs   Match Class  AK  Fit ",
        "       h  min   s       deg arcmin arcsec             mag GMsun",
        "----- --- --- ----- --- --- ------ ------ ----- ----- --- -----",
        "    1   3  28 39.09   +  31      6    1.9    --    I*  --  1.35",
    ]
    showtable.main(
        [
            os.path.join(ASCII_ROOT, "data/cds.dat"),
            "--format",
            "ascii.cds",
            "--hide-unit",
        ]
    )
    out, err = capsys.readouterr()
    assert out.splitlines() == [
        "Index RAh RAm  RAs  DE- DEd DEm DEs Match Class  AK Fit ",
        "----- --- --- ----- --- --- --- --- ----- ----- --- ----",
        "    1   3  28 39.09   +  31   6 1.9    --    I*  -- 1.35",
    ]