-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Add translation tests for getopt and optparse #126413
Copy link
Copy link
Closed
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestestsTests in the Lib/test dirTests in the Lib/test dirtype-featureA feature request or enhancementA feature request or enhancement