fix(tests): fix a test broken in Python 3.12.8
Metadata
Current evaluation
Merged #595, updating a test expectation for Python 3.12.8's unquoted argparse choices; resolving commit e1694314.
Resolution: closed resolved
Reason: PR #595 was merged after approval, and commit e1694314 updated the test to account for Python 3.12.8 no longer quoting argparse choices.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Since 3.12.8, argparse 'choices' are no longer quoted. Ref: https://github.com/python/cpython/pull/11776
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `tox`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #595, updating a test expectation for Python 3.12.8's unquoted argparse choices; resolving commit e1694314. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/craft-application#595, updating one test for Python 3.12.8’s unquoted argparse choices; resolving commit e1694314. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged canonical/craft-application#595 (commit e1694314) to update a test for Python 3.12.8's unquoted argparse choices. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #595 to fix a test broken by Python 3.12.8’s argparse quoting change, updating expected choices output for the new behavior. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a fix for a test failing after Python 3.12.8 updated argparse choices quoting. Approved by two reviewers, passed CI, and adjusted one file to match the new standard library behavior. |
Update history
No update history recorded yet.
Related work
-
Related To:
cpython#11776
(confidence 99%)
Upstream argparse change that altered choices formatting.
Related issues
No related issues found above the similarity threshold.