Skip to content

Commit 53caa74

Browse files
seismanweiji14
andauthored
Update fig.solar baseline images for GMT 6.2.0rc1 (#1232)
* Mark fig.solar tests with xfail Co-authored-by: Wei Ji <[email protected]>
1 parent b855310 commit 53caa74

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
outs:
2-
- md5: 0a7f4959b500b6fa3a560a6368db0f90
3-
size: 25982
2+
- md5: 0f8baadcf84e0222b6a42a2525277c78
3+
size: 25000
44
path: test_solar_set_terminator_datetime.png
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
outs:
2-
- md5: 54c92bea64e0fc76c62601cb6131f22e
3-
size: 44160
2+
- md5: 9854a8041fe4c5d8b3832446b77fb482
3+
size: 41749
44
path: test_solar_terminators.png

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)