8000 TST: add a tolerance to a svg test · matplotlib/matplotlib@9265c34 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9265c34

Browse files
committed
TST: add a tolerance to a svg test
Suspect some travis builds are failing due to changes in inkscape version (0.48 on passing builds 0.91 on failing on).
1 parent f7f6c29 commit 9265c34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ def test_warn_cl_plus_tl():
383383
assert not(fig.get_constrained_layout())
384384

385385

386-
@check_figures_equal(extensions=["png", "pdf", "svg"])
386+
@check_figures_equal(extensions=["png", "pdf", "svg"], tol=.003)
387387
def test_add_artist(fig_test, fig_ref):
388388
fig_test.set_dpi(100)
389389
fig_ref.set_dpi(100)

0 commit comments

Comments
 (0)
0