mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-02-14 03:07:56 -08:00
26 lines
974 B
Diff
26 lines
974 B
Diff
From d73dd52edf7ec106cf2f6c0ffc79dcda31102ecd Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
|
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
|
|
|