Skip to content

Commit e840f5d

Browse files
Meghan Jonesweiji14
Meghan Jones
andauthored
Update makecpt baseline images for GMT 6.2.0rc1 (#1231)
* Mark makecpt tests with xfail Co-authored-by: Wei Ji <[email protected]>
1 parent 7466dc3 commit e840f5d

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
outs:
2-
- md5: 3452d1c57e68d0ff7a326a6fa35cbf5d
3-
size: 4079
2+
- md5: 9a8c5ecec5f8962987635057f577a01c
3+
size: 6029
44
path: test_makecpt_categorical.png
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
outs:
2-
- md5: 479dbbd853e31354d825e0e23e123920
3-
size: 3925
2+
- md5: 4ad410eb2843b3b47818121563c79254
3+
size: 4628
44
path: test_makecpt_cyclic.png

pygmt/tests/test_makecpt.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,10 @@ def test_makecpt_continuous(grid):
150150
return fig
151151

152152

153+
@pytest.mark.xfail(
154+
reason="Flaky test only passes with pytest on single module"
155+
"See https://github.com/GenericMappingTools/pygmt/issues/1242"
156+
)
153157
@pytest.mark.mpl_image_compare
154158
def test_makecpt_categorical(region):
155159
"""
@@ -161,6 +165,10 @@ def test_makecpt_categorical(region):
161165
return fig
162166

163167

168+
@pytest.mark.xfail(
169+
reason="Flaky test only passes with pytest on single module"
170+
"See https://github.com/GenericMappingTools/pygmt/issues/1242"
171+
)
164172
@pytest.mark.mpl_image_compare
165173
def test_makecpt_cyclic(region):
166174
"""

0 commit comments

Comments
 (0)