From d73dd52edf7ec106cf2f6c0ffc79dcda31102ecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 20 Jun 2021 15:07:56 +0200 Subject: [PATCH] increase test_backend_pgf.py::test_xelatex[pdf] tol --- lib/matplotlib/tests/test_backend_pgf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/tests/test_backend_pgf.py b/lib/matplotlib/tests/test_backend_pgf.py index 55e375311..684f38fb7 100644 --- a/lib/matplotlib/tests/test_backend_pgf.py +++ b/lib/matplotlib/tests/test_backend_pgf.py @@ -80,7 +80,7 @@ def test_common_texification(plain_text, escaped_text): # test compiling a figure to pdf with xelatex @needs_xelatex @pytest.mark.backend('pgf') -@image_comparison(['pgf_xelatex.pdf'], style='default') +@image_comparison(['pgf_xelatex.pdf'], style='default', tol=0.8) def test_xelatex(): rc_xelatex = {'font.family': 'serif', 'pgf.rcfonts': False} -- 2.32.0 diff --git a/lib/matplotlib/tests/test_image.py b/lib/matplotlib/tests/test_image.py index c635564..4352942 100644 --- a/lib/matplotlib/tests/test_image.py +++ b/lib/matplotlib/tests/test_image.py @@ -872,7 +872,7 @@ def test_imshow_endianess(): @image_comparison(['imshow_masked_interpolation'], - tol=0 if platform.machine() == 'x86_64' else 0.01, + tol=0.01, remove_text=True, style='mpl20') def test_imshow_masked_interpolation():