Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2528c5

Browse files
committed
TST: Mark mixedsubplots SVG test as xfail.
Even with a rerun, it doesn't appear to fix itself, and it's been acting up a lot lately, so just ignore any failures for now.
1 parent f822ccf commit b2528c5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/mpl_toolkits/tests/test_mplot3d.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,10 @@ def test_lines3d():
108108
ax.plot(x, y, z)
109109

110110

111-
# Reason for flakiness is still unknown.
112-
@pytest.mark.flaky(reruns=3)
113-
@image_comparison(baseline_images=['mixedsubplot'], remove_text=True)
111+
# Reason for flakiness of SVG test is still unknown.
112+
@image_comparison(baseline_images=['mixedsubplot'], remove_text=True,
113+
extensions=['png', 'pdf',
114+
pytest.mark.xfail('svg', strict=False)])
114115
def test_mixedsubplots():
115116
def f(t):
116117
s1 = np.cos(2*np.pi*t)

0 commit comments

Comments
 (0)