Skip to content

Add translation tests for getopt and optparse #126413

@tomasr8

Description

@tomasr8

Feature or enhancement

Proposal:

Follow up from #124295
Now that we have translation tests for argparse, we should add translation tests for getopt and optparse as well.

Small note on the implementation: given that the tests will be almost identical to the existing argparse tests, I think it would make sense to create some helper functions in test.support in order to not duplicate the code.

I'm going to work on this issue :)

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

Labels

3.12only security fixes3.13bugs and security fixes3.14bugs and security fixestestsTests in the Lib/test dirtype-featureA feature request or enhancement

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions