8d68856
From 1e4e5f12b804561ab5b6bfa4ad76d44523d1568e 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
8d68856
Subject: [PATCH 3/4] Increase tolerances for FT 2.7.1 and other arches.
8d68856
8d68856
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
8d68856
---
8d68856
 lib/matplotlib/tests/test_patheffects.py | 2 +-
8d68856
 lib/matplotlib/tests/test_streamplot.py  | 3 +--
8d68856
 2 files changed, 2 insertions(+), 3 deletions(-)
8d68856
8d68856
diff --git a/lib/matplotlib/tests/test_patheffects.py b/lib/matplotlib/tests/test_patheffects.py
8d68856
index 9b8a4379c..e36d6deb6 100644
8d68856
--- a/lib/matplotlib/tests/test_patheffects.py
8d68856
+++ b/lib/matplotlib/tests/test_patheffects.py
8d68856
@@ -125,7 +125,7 @@ def test_SimplePatchShadow_offset():
8d68856
     assert pe._offset == (4, 5)
8d68856
 
8d68856
 
8d68856
-@image_comparison(baseline_images=['collection'], tol=0.015)
8d68856
+@image_comparison(baseline_images=['collection'], tol=0.019)
8d68856
 def test_collection():
8d68856
     x, y = np.meshgrid(np.linspace(0, 10, 150), np.linspace(-5, 5, 100))
8d68856
     data = np.sin(x) + np.cos(y)
8d68856
diff --git a/lib/matplotlib/tests/test_streamplot.py b/lib/matplotlib/tests/test_streamplot.py
8d68856
index 48f1e0683..aadcf6bfd 100644
8d68856
--- a/lib/matplotlib/tests/test_streamplot.py
8d68856
+++ b/lib/matplotlib/tests/test_streamplot.py
8d68856
@@ -58,8 +58,7 @@ def test_linewidth():
8d68856
                    linewidth=lw)
8d68856
 
8d68856
 
8d68856
-@image_comparison(baseline_images=['streamplot_masks_and_nans'],
8d68856
-                  tol=0.04 if on_win else 0)
8d68856
+@image_comparison(baseline_images=['streamplot_masks_and_nans'], tol=0.01)
8d68856
 def test_masks_and_nans():
8d68856
     X, Y, U, V = velocity_field()
8d68856
     mask = np.zeros(U.shape, dtype=bool)
8d68856
-- 
8d68856
2.14.3
8d68856