|
3 | 3 | """
|
4 | 4 |
|
5 | 5 | import copy
|
| 6 | +import sys |
6 | 7 | from pathlib import Path
|
7 | 8 | from tempfile import TemporaryDirectory
|
8 | 9 |
|
@@ -59,7 +60,7 @@ def test_x2sys_cross_input_file_output_file():
|
59 | 60 |
|
60 | 61 | @pytest.mark.usefixtures("mock_x2sys_home")
|
61 | 62 | @pytest.mark.xfail(
|
62 |
| - condition=Version(__gmt_version__) < Version("6.5.0"), |
| 63 | + condition=Version(__gmt_version__) < Version("6.5.0") or sys.platform == "darwin", |
63 | 64 | reason="Upstream bug fixed in https://github.com/GenericMappingTools/gmt/pull/8188",
|
64 | 65 | )
|
65 | 66 | def test_x2sys_cross_input_file_output_dataframe():
|
@@ -200,7 +201,7 @@ def test_x2sys_cross_invalid_tracks_input_type(tracks):
|
200 | 201 |
|
201 | 202 | @pytest.mark.usefixtures("mock_x2sys_home")
|
202 | 203 | @pytest.mark.xfail(
|
203 |
| - condition=Version(__gmt_version__) < Version("6.5.0"), |
| 204 | + condition=Version(__gmt_version__) < Version("6.5.0") or sys.platform == "darwin", |
204 | 205 | reason="Upstream bug fixed in https://github.com/GenericMappingTools/gmt/pull/8188",
|
205 | 206 | )
|
206 | 207 | def test_x2sys_cross_region_interpolation_numpoints():
|
@@ -229,7 +230,7 @@ def test_x2sys_cross_region_interpolation_numpoints():
|
229 | 230 |
|
230 | 231 | @pytest.mark.usefixtures("mock_x2sys_home")
|
231 | 232 | @pytest.mark.xfail(
|
232 |
| - condition=Version(__gmt_version__) < Version("6.5.0"), |
| 233 | + condition=Version(__gmt_version__) < Version("6.5.0") or sys.platform == "darwin", |
233 | 234 | reason="Upstream bug fixed in https://github.com/GenericMappingTools/gmt/pull/8188",
|
234 | 235 | )
|
235 | 236 | def test_x2sys_cross_trackvalues():
|
|
0 commit comments