]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91821: Make decimal test succeed consistently (#91825)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Sun, 24 Apr 2022 22:02:57 +0000 (15:02 -0700)
committerGitHub <noreply@github.com>
Sun, 24 Apr 2022 22:02:57 +0000 (15:02 -0700)
commite93d2fbddaee329b2e8f405cbb5aec44ca221de6
treeb708d272b7cdabbc11af3ac241c86b94427e65ed
parentdd3cf124a033a2e3bb975be53db40213457afd51
gh-91821: Make decimal test succeed consistently (#91825)

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.
Lib/test/test_decimal.py
Misc/NEWS.d/next/Library/2022-04-22-08-25-18.gh-issue-91821.XwMkj0.rst [new file with mode: 0644]