Skip to content

Commit

Permalink
Remove grdimage, legend and plot3d xfail markers
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Mar 8, 2022
1 parent ff4ed31 commit f5adf61
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
5 changes: 0 additions & 5 deletions pygmt/tests/test_grdimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ def test_grdimage_slice(grid):


@pytest.mark.mpl_image_compare
@pytest.mark.xfail(
condition=gmt_version > Version("6.3.0"),
reason="Grid extension bug affects baseline image; "
"fixed in https://github.com/GenericMappingTools/gmt/pull/6175.",
)
def test_grdimage_file():
"""
Plot an image using file input.
Expand Down
16 changes: 0 additions & 16 deletions pygmt/tests/test_legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@


@pytest.mark.mpl_image_compare
@pytest.mark.xfail(
condition=gmt_version > Version("6.3.0"),
reason="Defaults updated in https://github.com/GenericMappingTools/gmt/pull/6165",
)
def test_legend_position():
"""
Test that plots a position with each of the four legend coordinate systems.
Expand All @@ -31,10 +27,6 @@ def test_legend_position():


@pytest.mark.mpl_image_compare
@pytest.mark.xfail(
condition=gmt_version > Version("6.3.0"),
reason="Defaults updated in https://github.com/GenericMappingTools/gmt/pull/6165",
)
def test_legend_default_position():
"""
Test using the default legend position.
Expand All @@ -51,10 +43,6 @@ def test_legend_default_position():


@pytest.mark.mpl_image_compare
@pytest.mark.xfail(
condition=gmt_version > Version("6.3.0"),
reason="Defaults updated in https://github.com/GenericMappingTools/gmt/pull/6165",
)
def test_legend_entries():
"""
Test different marker types/shapes.
Expand All @@ -76,10 +64,6 @@ def test_legend_entries():


@pytest.mark.mpl_image_compare
@pytest.mark.xfail(
condition=gmt_version > Version("6.3.0"),
reason="Defaults updated in https://github.com/GenericMappingTools/gmt/pull/6165",
)
def test_legend_specfile():
"""
Test specfile functionality.
Expand Down
5 changes: 0 additions & 5 deletions pygmt/tests/test_plot3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Tests plot3d.
"""
import os
import sys

import numpy as np
import pytest
Expand Down Expand Up @@ -334,10 +333,6 @@ def test_plot3d_matrix(data, region, color):
return fig


@pytest.mark.xfail(
condition=sys.platform == "win32",
reason="Wrong plot generated on Windows due to incorrect -i parameter parsing",
)
@pytest.mark.mpl_image_compare
def test_plot3d_matrix_color(data, region):
"""
Expand Down

0 comments on commit f5adf61

Please sign in to comment.