File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 11"""
22Test Figure.grdimage.
33"""
4- import sys
5-
64import numpy as np
75import pytest
86import xarray as xr
9- from packaging .version import Version
10- from pygmt import Figure , clib
7+ from pygmt import Figure
118from pygmt .datasets import load_earth_relief
129from pygmt .exceptions import GMTInvalidInput
1310from pygmt .helpers .testing import check_figures_equal
1411
15- with clib .Session () as _lib :
16- gmt_version = Version (_lib .info ["version" ])
17-
1812
1913@pytest .fixture (scope = "module" , name = "grid" )
2014def fixture_grid ():
@@ -82,14 +76,6 @@ def test_grdimage_file():
8276 return fig
8377
8478
85- @pytest .mark .skipif (
86- gmt_version <= Version ("6.1.1" ) and sys .platform == "darwin" ,
87- reason = "Upstream bug in GMT 6.1.1 that causes segfault on macOS" ,
88- )
89- @pytest .mark .xfail (
90- condition = gmt_version <= Version ("6.1.1" ) and sys .platform != "darwin" ,
91- reason = "Upstream bug in GMT 6.1.1 that causes this test to fail on Linux/Windows" ,
92- )
9379@check_figures_equal ()
9480@pytest .mark .parametrize (
9581 "shading" ,
You can’t perform that action at this time.
0 commit comments