Skip to content

Commit

Permalink
Mark the test as xfail for GMT<=6.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Oct 2, 2024
1 parent d1b5793 commit 0f46f32
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pygmt/tests/test_grdimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import numpy as np
import pytest
import xarray as xr
from pygmt import Figure
from packaging.version import Version
from pygmt import Figure, __gmt_version__
from pygmt.datasets import load_earth_relief
from pygmt.exceptions import GMTInvalidInput
from pygmt.helpers.testing import check_figures_equal
Expand Down Expand Up @@ -254,6 +255,10 @@ def test_grdimage_imgout_fails(grid):
fig.grdimage(grid, A="out.png")


@pytest.mark.xfail(
condition=Version(__gmt_version__) <= Version("6.5.0"),
reason="Upstream bug fixed in https://github.com/GenericMappingTools/gmt/pull/8554",
)
@pytest.mark.mpl_image_compare()
def test_grdimage_grid_no_redunant_360():
"""
Expand Down

0 comments on commit 0f46f32

Please sign in to comment.