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

gh-91821: Make decimal test succeed consistently #91825

Merged
merged 2 commits into from
Apr 24, 2022

Conversation

JelleZijlstra
Copy link
Member

The test relies on precision being set to 9, but some ways of
invoking this test leave it set to 28 instead. I don't know
exactly how it happens, but setting the precision directly should
make the behavior consistent.

#91821

The test relies on precision being set to 9, but some ways of
invoking this test leave it set to 28 instead. I don't know
exactly how it happens, but setting the precision directly should
make the behavior consistent.
@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting core review labels Apr 22, 2022
@JelleZijlstra JelleZijlstra changed the title gh-91821: Make test succeed consistently gh-91821: Make decimal test succeed consistently Apr 22, 2022
@JelleZijlstra
Copy link
Member Author

Going to merge this so people don't keep running into mysterious test failures.

@vstinner
Copy link
Member

Misc/NEWS.d/next/Library/2022-04-22-08-25-18.gh-issue-91821.XwMkj0.rst
Fix unstable test_from_tuple test in test_decimal.py.

FYI you can use the "Tests" category for tests changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants