-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Increase a few test tolerances on some arches #24786
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
Conversation
Isn't it beter to swap so that the troublesome platforms get higher tolerance and the rest 0/lower? Turns out that arm64 (Mac m1) does not need higher tolerance, but aarch64 does. Edit: also, |
I ran a scratch build and here are the exact faiures: aarch64test_contour_addlines[png] (RMS 0.146) ppc64letest_contour_addlines[png] (RMS 0.146) s390xtest_contour_addlines[png] (RMS 0.146) |
191adca
to
e89dade
Compare
A scratch build with this updated PR. For some reason, something in |
@@ -169,7 +169,7 @@ def test_pathclip(): | |||
# test mixed mode rendering | |||
@needs_pgf_xelatex | |||
@pytest.mark.backend('pgf') | |||
@image_comparison(['pgf_mixedmode.pdf'], style='default') | |||
@image_comparison(['pgf_mixedmode.pdf'], style='default', tol=0.9) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason this tolerance bump is not conditional like the rest of them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it probably shouldn't have been there. As noted above, this test doesn't appear in the list. I think this may have been for different Ghostscript versions, but is unnecessary now.
@QuLogic do you wish to resolve the new test failure before merge? |
PR Summary
I previously had this downstream in Fedora, but as we may soon get real ARM CI (#24597), it makes sense to put it in here now.
PR Checklist
Documentation and Tests
pytest
passes)Release Notes
.. versionadded::
directive in the docstring and documented indoc/users/next_whats_new/
.. versionchanged::
directive in the docstring and documented indoc/api/next_api_changes/
next_whats_new/README.rst
ornext_api_changes/README.rst