commit:     d321667b043cfac5c12e618b211e1df73dd6f0c8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 16 22:59:02 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 16 22:59:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d321667b

dev-python/matplotlib: increase tolerance for test

Closes: https://bugs.gentoo.org/786834
Closes: https://bugs.gentoo.org/738884
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../matplotlib/files/matplotlib-3.4.3-test-extra.patch      | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/dev-python/matplotlib/files/matplotlib-3.4.3-test-extra.patch 
b/dev-python/matplotlib/files/matplotlib-3.4.3-test-extra.patch
index 3f76705745d..cf641ff753e 100644
--- a/dev-python/matplotlib/files/matplotlib-3.4.3-test-extra.patch
+++ b/dev-python/matplotlib/files/matplotlib-3.4.3-test-extra.patch
@@ -23,3 +23,16 @@ index 55e375311..684f38fb7 100644
 -- 
 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():
+ 

Reply via email to