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

Skip to content

Commit 76e4655

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 907f1fa commit 76e4655

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/mpl_toolkits/tests/test_mplot3d.py

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

110110

111-
@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)])
112115
def test_mixedsubplots():
113116
def f(t):
114117
s1 = np.cos(2*np.pi*t)

0 commit comments

Comments
 (0)