def METHOD_NAME(capsys):
    showtable.main(
        [
            os.path.join(ASCII_ROOT, "data/simple2.txt"),
            "--format",
            "ascii",
            "--delimiter",
            "|",
        ]
    )
    out, err = capsys.readouterr()
    assert out.splitlines() == [
        "obsid redshift  X    Y      object   rad ",
        "----- -------- ---- ---- ----------- ----",
        " 3102     0.32 4167 4085 Q1250+568-A  9.0",
        " 3102     0.32 4706 3916 Q1250+568-B 14.0",
        "  877     0.22 4378 3892 'Source 82' 12.5",
    ]