Skip to content

Commit d01dd67

Browse files
committed
TST: Use a nonzero tolerance for test_anchored_direction_arrows_many_args unconditionally
This test fails on CentOS 10-like Linux on the LoongArch64 architecture. The diff image contains a single white pixel.
1 parent 855008e commit d01dd67

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from itertools import product
22
import io
33
import platform
4-
import sys
54

65
import matplotlib as mpl
76
import matplotlib.pyplot as plt
@@ -369,7 +368,7 @@ def test_anchored_direction_arrows():
369368

370369

371370
@image_comparison(['anchored_direction_arrows_many_args.png'], style='mpl20',
372-
tol=0.002 if sys.platform == 'win32' else 0)
371+
tol=0.002)
373372
def test_anchored_direction_arrows_many_args():
374373
fig, ax = plt.subplots()
375374
ax.imshow(np.ones((10, 10)))

0 commit comments

Comments
 (0)