diff --git a/pygmt/tests/test_x2sys_cross.py b/pygmt/tests/test_x2sys_cross.py index 22c77c7e580..069330fb623 100644 --- a/pygmt/tests/test_x2sys_cross.py +++ b/pygmt/tests/test_x2sys_cross.py @@ -255,12 +255,7 @@ def test_x2sys_cross_region_interpolation_numpoints(): assert isinstance(output, pd.DataFrame) - if platform.machine() in {"aarch64", "arm64"} or ( - platform.system() == "Linux" - and platform.freedesktop_os_release()["PRETTY_NAME"].startswith( - "Ubuntu 26.04" - ) - ): + if platform.machine() in {"aarch64", "arm64"}: assert output.shape == (3894, 12) # Check crossover errors (z_X) and mean value of observables (z_M) npt.assert_allclose(output.z_X.mean(), -138.23215, rtol=1e-4) @@ -283,12 +278,7 @@ def test_x2sys_cross_track_values(): output = x2sys_cross(tracks=["@tut_ship.xyz"], tag=tag, track_values=True) assert isinstance(output, pd.DataFrame) - if platform.machine() in {"aarch64", "arm64"} or ( - platform.system() == "Linux" - and platform.freedesktop_os_release()["PRETTY_NAME"].startswith( - "Ubuntu 26.04" - ) - ): + if platform.machine() in {"aarch64", "arm64"}: assert output.shape == (14374, 12) # Check mean of track 1 values (z_1) and track 2 values (z_2) npt.assert_allclose(output.z_1.mean(), -2422.973372, rtol=1e-4)