Add translation tests for getopt and optparse #126413
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
tests
Tests in the Lib/test dir
type-feature
A feature request or enhancement
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
getopt
andoptparse
#126698The text was updated successfully, but these errors were encountered: