python-matplotlib/0003-Slightly-increase-tolerance-on-rcupdate-test.patch

27 lines
1.1 KiB
Diff
Raw Normal View History

2021-10-02 08:57:29 +00:00
From af387ba8868b761273dc85b288196822ebba345c Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Fri, 4 Jun 2021 02:32:31 -0400
2021-10-02 08:57:29 +00:00
Subject: [PATCH 3/4] Slightly increase tolerance on rcupdate test.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
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
2021-10-02 08:57:29 +00:00
index 9b5b0b28ee..eac63a6902 100644
--- a/lib/matplotlib/tests/test_backend_pgf.py
+++ b/lib/matplotlib/tests/test_backend_pgf.py
2021-08-24 08:09:03 +00:00
@@ -136,7 +136,7 @@ def test_rcupdate():
'pgf.preamble': ('\\usepackage[utf8x]{inputenc}'
'\\usepackage[T1]{fontenc}'
'\\usepackage{sfmath}')}]
2021-08-24 08:09:03 +00:00
- tol = [0, 13.2] if _old_gs_version else [0, 0]
+ tol = [6, 1.28]
for i, rc_set in enumerate(rc_sets):
with mpl.rc_context(rc_set):
for substring, pkg in [('sfmath', 'sfmath'), ('utf8x', 'ucs')]:
--
2.31.1