Thanks to visit codestin.com
Credit goes to github.com

Skip to content

TST: Increase tolerance of some tests for aarch64 #15620

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

Merged
merged 1 commit into from
Nov 7, 2019
Merged

TST: Increase tolerance of some tests for aarch64 #15620

merged 1 commit into from
Nov 7, 2019

Conversation

siddhesh
Copy link
Contributor

@siddhesh siddhesh commented Nov 7, 2019

PR Summary

Some tests differ from expected result on aarch64 by more than the
expected tolerance. The generated images however remain visually
similar.

The differences appear to be at borders of colours for images,
i.e. edges of fonts, between transitions of colours, etc. and is
possibly due to FP rounding differences at those points.

Bump up tolerance of these tests by a bit so that they pass on
aarch64.

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

Some tests differ from expected result on aarch64 by more than the
expected tolerance.  The generated images however remain visually
similar.

The differences appear to be at borders of colours for images,
i.e. edges of fonts, between transitions of colours, etc. and is
possibly due to FP rounding differences at those points.

Bump up tolerance of these tests by a wee bit so that they pass on
aarch64.
@dopplershift dopplershift added this to the v3.2.0 milestone Nov 7, 2019
@tacaswell tacaswell merged commit bf8cf6f into matplotlib:master Nov 7, 2019
@tacaswell
Copy link
Member

Thanks @siddhesh !

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Nov 7, 2019
QuLogic added a commit that referenced this pull request Nov 8, 2019
…620-on-v3.2.x

Backport PR #15620 on branch v3.2.x (TST: Increase tolerance of some tests for aarch64)
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.

4 participants