3fa499b
From 8652868372a2a227091c457f1c711f2b6dd6af40 Mon Sep 17 00:00:00 2001
8d68856
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
8d68856
Date: Tue, 23 Jan 2018 20:27:17 -0500
9046bbb
Subject: [PATCH 3/4] Increase tolerances for non-x86_64 arches.
8d68856
8d68856
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
8d68856
---
e6f3591
 lib/matplotlib/tests/test_streamplot.py   | 4 ++--
c385e2c
 lib/mpl_toolkits/tests/test_axes_grid1.py | 2 +-
e6f3591
 2 files changed, 3 insertions(+), 3 deletions(-)
8d68856
8d68856
diff --git a/lib/matplotlib/tests/test_streamplot.py b/lib/matplotlib/tests/test_streamplot.py
e6f3591
index d2218f6f2..1afc60543 100644
8d68856
--- a/lib/matplotlib/tests/test_streamplot.py
8d68856
+++ b/lib/matplotlib/tests/test_streamplot.py
e6f3591
@@ -63,8 +63,8 @@ def test_linewidth():
e6f3591
                   linewidth=lw)
8d68856
 
8d68856
 
e6f3591
-@image_comparison(['streamplot_masks_and_nans'],
e6f3591
-                  remove_text=True, style='mpl20', tol=0.04 if on_win else 0)
e6f3591
+@image_comparison(baseline_images=['streamplot_masks_and_nans'],
e6f3591
+                  remove_text=True, style='mpl20', tol=0.04 if on_win else .01)
8d68856
 def test_masks_and_nans():
8d68856
     X, Y, U, V = velocity_field()
e6f3591
     mask = np.zeros(U.shape, dtype=bool)
c385e2c
diff --git a/lib/mpl_toolkits/tests/test_axes_grid1.py b/lib/mpl_toolkits/tests/test_axes_grid1.py
e6f3591
index 9ed9a9280..56a3bd14a 100644
c385e2c
--- a/lib/mpl_toolkits/tests/test_axes_grid1.py
c385e2c
+++ b/lib/mpl_toolkits/tests/test_axes_grid1.py
e6f3591
@@ -343,7 +343,7 @@ def test_zooming_with_inverted_axes():
c385e2c
 
c385e2c
 
e6f3591
 @image_comparison(['anchored_direction_arrows.png'],
e6f3591
-                  tol={'aarch64': 0.02}.get(platform.machine(), 0.0))
e6f3591
+                  tol=0.02)
c385e2c
 def test_anchored_direction_arrows():
c385e2c
     fig, ax = plt.subplots()
e6f3591
     ax.imshow(np.zeros((10, 10)), interpolation='nearest')
8d68856
-- 
e6f3591
2.21.1
8d68856