8000 Fixes for Windows test failures on appveyor by jankatins · Pull Request #5922 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
8000

Fixes for Windows test failures on appveyor #5922

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Feb 1, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
TST: up tolerance for test_wedge_range
affected:

matplotlib.tests.test_patches.test_wedge_range.test (RMS 0.059) (x64,27)
matplotlib.tests.test_patches.test_wedge_range.test (RMS 0.059) (x64,34)
matplotlib.tests.test_patches.test_wedge_range.test (RMS 0.059) (x86,27)

it seems that only the middle figure in the last row is different. Up the
tolerance on windows to let the tests pass.
  • Loading branch information
jankatins committed Jan 27, 2016
commit 88376c270332257073912d315c11e7e0912aeee7
5 changes: 4 additions & 1 deletion lib/matplotlib/tests/test_patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
from matplotlib import path as mpath
from matplotlib import transforms as mtrans

import sys
on_win = (sys.platform == 'win32')


def test_Polygon_close():
#: Github issue #1018 identified a bug in the Polygon handling
Expand Down Expand Up @@ -250,7 +253,7 @@ def test_wedge_movement():


@image_comparison(baseline_images=['wedge_range'],
remove_text=True)
remove_text=True, tol=0.06 if on_win else 0)
def test_wedge_range():
ax = plt.axes()

Expand Down
0