Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: adapt expected argparse printed choices #97

Merged
merged 1 commit into from
Dec 24, 2024
Merged

Conversation

stanislavlevin
Copy link
Owner

Python 3.12.8/3.13.1 changed argparse printed choices.

https://docs.python.org/release/3.12.8/whatsnew/changelog.html#python-3-12-8

gh-117766: Always use str() to print choices in argparse.

Fixes: #96

Python 3.12.8/3.13.1 changed argparse printed choices.

https://docs.python.org/release/3.12.8/whatsnew/changelog.html#python-3-12-8
> gh-117766: Always use str() to print choices in argparse.

Fixes: #96
Signed-off-by: Stanislav Levin <[email protected]>
@stanislavlevin stanislavlevin merged commit bf8da42 into main Dec 24, 2024
24 checks passed
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.

[tests] test_invalid_hook_choice and test_deps_cli_add_wrong_srctype fail against Python 3.12.8/3.13.1
1 participant