Closed mgorny closed 2 months ago
Thanks you for the report, @mgorny!
Looks like it's caused by this one: https://github.com/python/cpython/pull/103372
Will update the tests.
Will be released with https://github.com/neithere/argh/pull/225.
Thanks. I can confirm that the tests pass for with this commit applied.
Summary
The test suite fails with Python 3.13.0b2. At a first glance, all the mismatches are because
--help
output changed. When a single argument has multiple option strings,argparse
no longer repeats the placeholder, i.e. rather than-t TASK, --task TASK
it gives-t, --task TASK
.To Reproduce
Command line input/output:
Expected behavior
Passing tests :-).
Environment
Additional context
n/a