Skip to content

fix(tests): fix a test broken in Python 3.12.8 - #595

Merged
tigarmo merged 2 commits into
mainfrom
work/fix-3.12-choices
Dec 13, 2024
Merged

tigarmo merged 2 commits into
mainfrom
work/fix-3.12-choices

Conversation

@tigarmo

@tigarmo tigarmo commented Dec 13, 2024

Copy link
Copy Markdown
Contributor

Since 3.12.8, argparse 'choices' are no longer quoted. Ref: python/cpython#11776

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run tox?

Since 3.12.8, argparse 'choices' are no longer quoted.
Ref: python/cpython#11776
@tigarmo
tigarmo marked this pull request as ready for review December 13, 2024 13:42
Comment thread tests/integration/commands/test_init.py Outdated
Co-authored-by: Alex Lowe <alex.lowe@canonical.com>
@tigarmo tigarmo added the squash label Dec 13, 2024
@tigarmo
tigarmo merged commit 689aac6 into main Dec 13, 2024
@tigarmo
tigarmo deleted the work/fix-3.12-choices branch December 13, 2024 14:01
mr-cal pushed a commit that referenced this pull request Feb 4, 2025
Since 3.12.8, argparse 'choices' are no longer quoted.
Ref: python/cpython#11776

---------

Co-authored-by: Alex Lowe <alex.lowe@canonical.com>
mr-cal pushed a commit that referenced this pull request Feb 4, 2025
Since 3.12.8, argparse 'choices' are no longer quoted.
Ref: python/cpython#11776

---------

Co-authored-by: Alex Lowe <alex.lowe@canonical.com>
lengau added a commit to zhijie-yang/craft-application that referenced this pull request Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants