diff options
Diffstat (limited to 'dev-python/matplotlib/files/matplotlib-1.5.3-freetype-spurious-failure.patch')
-rw-r--r-- | dev-python/matplotlib/files/matplotlib-1.5.3-freetype-spurious-failure.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-python/matplotlib/files/matplotlib-1.5.3-freetype-spurious-failure.patch b/dev-python/matplotlib/files/matplotlib-1.5.3-freetype-spurious-failure.patch deleted file mode 100644 index bc6891a..0000000 --- a/dev-python/matplotlib/files/matplotlib-1.5.3-freetype-spurious-failure.patch +++ /dev/null @@ -1,26 +0,0 @@ -Increase the tolerance margin in order to pass tests caused by -freetype producing unreproducible images across different versions. -See also: https://github.com/matplotlib/matplotlib/issues/2667 - ---- a/lib/matplotlib/tests/test_mathtext.py -+++ b/lib/matplotlib/tests/test_mathtext.py -@@ -158,7 +158,7 @@ - def make_set(basename, fontset, tests, extensions=None): - def make_test(filename, test): - @image_comparison(baseline_images=[filename], extensions=extensions, -- tol=32) -+ tol=40) - def single_test(): - matplotlib.rcParams['mathtext.fontset'] = fontset - fig = plt.figure(figsize=(5.25, 0.75)) ---- a/lib/matplotlib/tests/test_text.py -+++ b/lib/matplotlib/tests/test_text.py -@@ -18,7 +18,7 @@ - from matplotlib.backends.backend_agg import RendererAgg - - --@image_comparison(baseline_images=['font_styles']) -+@image_comparison(baseline_images=['font_styles'], tol=20) - def test_font_styles(): - from matplotlib import _get_data_path - data_path = _get_data_path() |