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

Skip to content

Commit c5e3387

Browse files
committed
TST: Increase test_axes3d_primary_views tolerance on all macOS
Apparently, Azure updated from macOS 12 to 14, which caused the change in results outside of the Intel->ARM change.
1 parent bb489d7 commit c5e3387

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/mpl_toolkits/mplot3d/tests/test_axes3d.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import functools
22
import itertools
33
import platform
4+
import sys
45

56
import pytest
67

@@ -115,7 +116,7 @@ def test_axes3d_repr():
115116

116117

117118
@mpl3d_image_comparison(['axes3d_primary_views.png'], style='mpl20',
118-
tol=0.05 if platform.machine() == "arm64" else 0)
119+
tol=0.05 if sys.platform == "darwin" else 0)
119120
def test_axes3d_primary_views():
120121
# (elev, azim, roll)
121122
views = [(90, -90, 0), # XY

0 commit comments

Comments
 (0)