Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c6740fb

Browse files
committed
TST: increase tolerance for test_patches.test_wedge_range
1 parent 1fb51ce commit c6740fb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/tests/test_patches.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,9 @@ def test_wedge_movement():
252252
assert_equal(getattr(w, attr), new_v)
253253

254254

255+
# png needs tol>=0.06, pdf tol>=1.617
255256
@image_comparison(baseline_images=['wedge_range'],
256-
remove_text=True, tol=0.06 if on_win else 0)
257+
remove_text=True, tol=1.65 if on_win else 0)
257258
def test_wedge_range():
258259
ax = plt.axes()
259260

0 commit comments

Comments
 (0)