Skip to content

Improve Lib/test/test_decimal.py CLI with argparse #143984

@tonghuaroot

Description

@tonghuaroot

Description

This change improves the command-line interface experience, including support for colorized help output and better grouping of arguments.

Verification

  • Run python Lib/test/test_decimal.py --help
  • Run python Lib/test/test_decimal.py --skip

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-refactorCode refactoring (with no changes in behavior)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions