Skip to content

Commit

Permalink
Mark three x2sys_cross as xfail on macOS (#3198)
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored Apr 24, 2024
1 parent 16b8945 commit 99bc5d3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pygmt/tests/test_x2sys_cross.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""

import copy
import sys
from pathlib import Path
from tempfile import TemporaryDirectory

Expand Down Expand Up @@ -59,7 +60,7 @@ def test_x2sys_cross_input_file_output_file():

@pytest.mark.usefixtures("mock_x2sys_home")
@pytest.mark.xfail(
condition=Version(__gmt_version__) < Version("6.5.0"),
condition=Version(__gmt_version__) < Version("6.5.0") or sys.platform == "darwin",
reason="Upstream bug fixed in https://github.com/GenericMappingTools/gmt/pull/8188",
)
def test_x2sys_cross_input_file_output_dataframe():
Expand Down Expand Up @@ -200,7 +201,7 @@ def test_x2sys_cross_invalid_tracks_input_type(tracks):

@pytest.mark.usefixtures("mock_x2sys_home")
@pytest.mark.xfail(
condition=Version(__gmt_version__) < Version("6.5.0"),
condition=Version(__gmt_version__) < Version("6.5.0") or sys.platform == "darwin",
reason="Upstream bug fixed in https://github.com/GenericMappingTools/gmt/pull/8188",
)
def test_x2sys_cross_region_interpolation_numpoints():
Expand Down Expand Up @@ -229,7 +230,7 @@ def test_x2sys_cross_region_interpolation_numpoints():

@pytest.mark.usefixtures("mock_x2sys_home")
@pytest.mark.xfail(
condition=Version(__gmt_version__) < Version("6.5.0"),
condition=Version(__gmt_version__) < Version("6.5.0") or sys.platform == "darwin",
reason="Upstream bug fixed in https://github.com/GenericMappingTools/gmt/pull/8188",
)
def test_x2sys_cross_trackvalues():
Expand Down

0 comments on commit 99bc5d3

Please sign in to comment.