Skip to content

fix: adjust lazy_choices test for Python 3.14+ argparse changes#1875

Open
decembercomposer697-hue wants to merge 1 commit into
httpie:masterfrom
decembercomposer697-hue:fix/python-314-lazy-choices
Open

fix: adjust lazy_choices test for Python 3.14+ argparse changes#1875
decembercomposer697-hue wants to merge 1 commit into
httpie:masterfrom
decembercomposer697-hue:fix/python-314-lazy-choices

Conversation

@decembercomposer697-hue

Copy link
Copy Markdown

Python 3.14 calls the getter during argparse initialisation (registering choices),\nbreaking the lazy evaluation assumption in test_lazy_choices_help.\n\nAdded version check to account for this behavior change.

Python 3.14 calls the getter during argparse initialisation, breaking
the lazy evaluation test. Added version check to account for this.
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.

1 participant