summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-16 23:59:02 +0100
committerSam James <sam@gentoo.org>2021-10-16 23:59:15 +0100
commitd321667b043cfac5c12e618b211e1df73dd6f0c8 (patch)
treed53647d36c80c728fd2b43bc6ac4fe30b4a015fd /dev-python/matplotlib
parentnet-misc/yt-dlp: add myself as a maintainer (diff)
downloadgentoo-d321667b043cfac5c12e618b211e1df73dd6f0c8.tar.gz
gentoo-d321667b043cfac5c12e618b211e1df73dd6f0c8.tar.bz2
gentoo-d321667b043cfac5c12e618b211e1df73dd6f0c8.zip
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@gentoo.org>
Diffstat (limited to 'dev-python/matplotlib')
-rw-r--r--dev-python/matplotlib/files/matplotlib-3.4.3-test-extra.patch13
1 files changed, 13 insertions, 0 deletions
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 3f76705745df..cf641ff753ef 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():
+