8000 TST: Increase some tolerances for non-x86 arches · matplotlib/matplotlib@1d56e65 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1d56e65

Browse files
committed
TST: Increase some tolerances for non-x86 arches
1 parent dd09194 commit 1d56e65

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2502,7 +2502,7 @@ def test_contour_hatching():
25022502

25032503
@image_comparison(
25042504
['contour_colorbar'], style='mpl20',
2505-
tol=0.02 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0)
2505+
tol=0.54 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0)
25062506
def test_contour_colorbar():
25072507
x, y, z = contour_dat()
25082508

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import functools
22
import itertools
3+
import platform
34

45
import pytest
56

@@ -217,7 +218,9 @@ def test_bar3d_lightsource():
217218
np.testing.assert_array_max_ulp(color, collection._facecolor3d[1::6], 4)
218219

219220

220-
@mpl3d_image_comparison(['contour3d.png'], style='mpl20')
221+
@mpl3d_image_comparison(
222+
['contour3d.png'], style='mpl20',
223+
tol=0.002 if platform.machine() in ('aarch64', 'ppc64le', 's390x') else 0)
221224
def test_contour3d():
222225
fig = plt.figure()
223226
ax = fig.add_subplot(projection='3d')

0 commit comments

Comments
 (0)
0