File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2
2
Test the behaviour of the GMTDataArrayAccessor class.
3
3
"""
4
4
import os
5
+ import sys
5
6
6
7
import pytest
7
8
import xarray as xr
@@ -78,6 +79,11 @@ def test_accessor_set_non_boolean():
78
79
gmt_version < Version ("6.4.0" ),
79
80
reason = "Upstream bug fixed in https://github.com/GenericMappingTools/gmt/pull/6615" ,
80
81
)
82
+ @pytest .mark .xfail (
83
+ condition = sys .platform == "win32" ,
84
+ reason = "PermissionError on Windows when deleting eraint_uvz.nc file; "
85
+ "see https://github.com/GenericMappingTools/pygmt/pull/2073" ,
86
+ )
81
87
def test_accessor_sliced_datacube ():
82
88
"""
83
89
Check that a 2D grid which is sliced from an n-dimensional datacube works
Original file line number Diff line number Diff line change @@ -214,6 +214,10 @@ def test_grdview_on_a_plane_styled_with_facadepen(xrgrid):
214
214
return fig
215
215
216
216
217
+ @pytest .mark .xfail (
218
+ reason = "Generated images are different from the baseline images on three platforms. "
219
+ "See https://github.com/GenericMappingTools/pygmt/issues/2062#issuecomment-1220680290"
220
+ )
217
221
@pytest .mark .mpl_image_compare
218
222
def test_grdview_drapegrid_dataarray (xrgrid ):
219
223
"""
You can’t perform that action at this time.
0 commit comments