Skip to content

Commit 0b9544c

Browse files
committed
Mark fig.solar tests with xfail
1 parent 769386b commit 0b9544c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pygmt/tests/test_solar.py

+12
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
from pygmt.exceptions import GMTInvalidInput
99

1010

11+
@pytest.mark.xfail(
12+
reason="Flaky test only passes with pytest on single module"
13+
"See https://github.com/GenericMappingTools/pygmt/issues/1242"
14+
)
1115
@pytest.mark.mpl_image_compare
1216
def test_solar_terminators():
1317
"""
@@ -39,6 +43,10 @@ def test_solar_terminators():
3943
return fig
4044

4145

46+
@pytest.mark.xfail(
47+
reason="Flaky test only passes with pytest on single module"
48+
"See https://github.com/GenericMappingTools/pygmt/issues/1242"
49+
)
4250
@pytest.mark.mpl_image_compare(filename="test_solar_set_terminator_datetime.png")
4351
@pytest.mark.parametrize(
4452
"terminator_datetime",
@@ -104,6 +112,10 @@ def test_invalid_datetime():
104112
)
105113

106114

115+
@pytest.mark.xfail(
116+
reason="Flaky test only passes with pytest on single module"
117+
"See https://github.com/GenericMappingTools/pygmt/issues/1242"
118+
)
107119
@pytest.mark.mpl_image_compare(filename="test_solar_set_terminator_datetime.png")
108120
def test_solar_default_terminator():
109121
"""

0 commit comments

Comments
 (0)