From ebab9197b8600fb44e2795fd45c34fd0619b85a9 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 3 Feb 2025 13:08:19 +0800 Subject: [PATCH] Mark two contour tests as xfail on Linux ARM --- pygmt/tests/test_contour.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pygmt/tests/test_contour.py b/pygmt/tests/test_contour.py index c359c1d124c..e0d48236594 100644 --- a/pygmt/tests/test_contour.py +++ b/pygmt/tests/test_contour.py @@ -2,6 +2,7 @@ Test Figure.contour. """ +import platform from pathlib import Path import numpy as np @@ -30,6 +31,7 @@ def fixture_region(): @pytest.mark.mpl_image_compare +@pytest.mark.skipif(platform.machine() == "aarch64", reason="Fails on Linux ARM64") def test_contour_vec(region): """ Plot an x-centered gaussian kernel with different y scale. @@ -130,6 +132,7 @@ def test_contour_multiple_levels(region): @pytest.mark.mpl_image_compare(filename="test_contour_vec.png") +@pytest.mark.skipif(platform.machine() == "aarch64", reason="Fails on Linux ARM64") def test_contour_incols_transposed_data(region): """ Make sure that transposing the data matrix still produces a correct result with