Skip to content

lib/matplotlib/tests/test_inset.py: Fix tolerance on aarch64#31465

Open
apatard wants to merge 1 commit intomatplotlib:mainfrom
apatard:test-inset-aarch64
Open

lib/matplotlib/tests/test_inset.py: Fix tolerance on aarch64#31465
apatard wants to merge 1 commit intomatplotlib:mainfrom
apatard:test-inset-aarch64

Conversation

@apatard
Copy link
Copy Markdown

@apatard apatard commented Apr 7, 2026

I tried to run the test suite on a aarch64 linux system and it failed due to test_zoom_inset_connector_styles exceeding the tolerance. The test is already checking the platform to increase the tolerance on aarch64 but the check is failing as on this system, platform.machine() is returning aarch64 not arm64.

I've checked on several distributions and it seems consistent.

So, update the check to match both arm64 and aarch64.

I tried to run the test suite on a aarch64 linux system and it failed
due to test_zoom_inset_connector_styles exceeding the tolerance.
The test is already checking the platform to increase the tolerance
on aarch64 but the check is failing as on this system,
``platform.machine()`` is returning ``aarch64`` not ``arm64``.

I've checked on several distributions and it seems consistent.

So, update the check to match both ``arm64`` and ``aarch64``.

Signed-off-by: Arnaud Patard <arnaud.patard@collabora.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Needs review

Development

Successfully merging this pull request may close these issues.

2 participants