public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-pytest-mpl] rawhide: Increase the test tolerances for new matplotlib
Date: Mon, 03 Aug 2026 09:13:31 GMT [thread overview]
Message-ID: <178574841195.1.15594980156244986966.rpms-python-pytest-mpl-bef4f77ac54d@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pytest-mpl
Branch : rawhide
Commit : bef4f77ac54d46c8be39f9451d0e812f4f83d337
Author : Tomáš Hrnčiar <thrnciar@redhat.com>
Date : 2026-08-03T11:09:59+02:00
Stats : +25/-12 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-pytest-mpl/c/bef4f77ac54d46c8be39f9451d0e812f4f83d337?branch=rawhide
Log:
Increase the test tolerances for new matplotlib
Upstream issue: https://github.com/matplotlib/pytest-mpl/issues/263
---
diff --git a/0001-Increase-tolerance-for-new-FreeType.patch b/0001-Increase-tolerance-for-new-FreeType.patch
index de81b5d..5764338 100644
--- a/0001-Increase-tolerance-for-new-FreeType.patch
+++ b/0001-Increase-tolerance-for-new-FreeType.patch
@@ -1,27 +1,31 @@
-From cb75688d5cbdcecbca550d6661e4734a7121854f Mon Sep 17 00:00:00 2001
+From fe282bb967b9fc6990d1a094e535cf801e4f149b Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
-Date: Mon, 16 Jul 2018 00:52:13 -0400
+Date: Mon, 3 Aug 2026 10:29:56 +0200
Subject: [PATCH] Increase tolerance for new FreeType.
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+Co-authored-by: Tomáš Hrnčiar <thrnciar@redhat.com>
---
- tests/test_pytest_mpl.py | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
+ tests/test_pytest_mpl.py | 10 +++++-----
+ 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/test_pytest_mpl.py b/tests/test_pytest_mpl.py
-index 146bc0a..1dc7bc1 100644
+index 735defd..4cef426 100644
--- a/tests/test_pytest_mpl.py
+++ b/tests/test_pytest_mpl.py
-@@ -54,7 +54,7 @@ def assert_pytest_fails_with(args, output_substring):
+@@ -56,7 +56,7 @@ def assert_pytest_fails_with(args, output_substring):
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir_local,
- tolerance=DEFAULT_TOLERANCE)
-+ tolerance=7.1)
++ tolerance=10)
def test_succeeds():
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
-@@ -86,7 +86,7 @@ def test_succeeds_faulty_mirror():
+@@ -88,7 +88,7 @@ def test_succeeds_faulty_mirror():
class TestClass(object):
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir_local,
@@ -30,16 +34,25 @@ index 146bc0a..1dc7bc1 100644
def test_succeeds(self):
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
-@@ -213,7 +213,7 @@ def test_nofigure():
+@@ -98,7 +98,7 @@ class TestClass(object):
+
+ @pytest.mark.mpl_image_compare(baseline_dir=baseline_dir_local,
+ savefig_kwargs={'dpi': 30},
+- tolerance=DEFAULT_TOLERANCE)
++ tolerance=10)
+ def test_dpi():
+ fig = plt.figure()
+ ax = fig.add_subplot(1, 1, 1)
+@@ -215,7 +215,7 @@ def test_nofigure():
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir_local,
style='fivethirtyeight',
- tolerance=DEFAULT_TOLERANCE)
-+ tolerance=7.5)
++ tolerance=16)
def test_base_style():
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
-@@ -249,7 +249,7 @@ class TestClassWithSetup:
+@@ -251,7 +251,7 @@ class TestClassWithSetup:
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir_local,
filename='test_succeeds.png',
@@ -49,5 +62,5 @@ index 146bc0a..1dc7bc1 100644
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
--
-2.26.2
+2.54.0
reply other threads:[~2026-08-03 9:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178574841195.1.15594980156244986966.rpms-python-pytest-mpl-bef4f77ac54d@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox