Skip to content

Commit 0798a1b

Browse files
authored
Merge pull request matplotlib#31958 from meeseeksmachine/auto-backport-of-pr-31940-on-v3.11.x
Backport PR matplotlib#31940 on branch v3.11.x (Add loongarch64 image comparison tolerances)
2 parents c428aaa + 95f0ddd commit 0798a1b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

lib/matplotlib/tests/test_inset.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,10 @@ def test_inset_indicator_zorder():
9393
assert inset.get_zorder() == 42
9494

9595

96-
@image_comparison(['zoom_inset_connector_styles.png'], remove_text=True, style='mpl20',
97-
tol=0.024 if platform.machine() in ['aarch64', 'arm64'] else 0)
96+
@image_comparison(['zoom_inset_connector_styles.png'],
97+
remove_text=True, style='mpl20',
98+
tol=(0.024 if platform.machine() in ['aarch64', 'arm64',
99+
'loongarch64'] else 0))
98100
def test_zoom_inset_connector_styles():
99101
fig, axs = plt.subplots(2)
100102
for ax in axs:

0 commit comments

Comments
 (0)