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 ef239b5

Browse filesBrowse files
tacaswellmeeseeksmachine
authored andcommitted
Backport PR #26502: TST: Increase some tolerances for non-x86 arches
1 parent 1aac56a commit ef239b5
Copy full SHA for ef239b5

File tree

2 files changed

+5
-2
lines changed
Filter options

2 files changed

+5
-2
lines changed

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
+1-1Lines 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

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/tests/test_axes3d.py
+4-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.