Skip to content

Commit dc8db8b

Browse files
committed
fix some CI failures
[skip cirrus] [skip circle]
1 parent 48747ae commit dc8db8b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scipy/ndimage/tests/test_measurements.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from numpy.testing import suppress_warnings
66

77
from scipy._lib._array_api import (
8-
is_jax,
98
is_torch,
109
array_namespace,
1110
xp_assert_equal,
@@ -568,7 +567,7 @@ def test_value_indices03(xp):
568567
assert list(vi.keys()) == list(trueKeys)
569568
for k in [int(x) for x in trueKeys]:
570569
trueNdx = xp.nonzero(a == k, **nnz_kwd)
571-
assert vi[k].shape[0] == trueNdx.shape[0]
570+
assert len(vi[k]) == len(trueNdx)
572571
for vik, true_vik in zip(vi[k], trueNdx):
573572
xp_assert_equal(vik, true_vik)
574573

0 commit comments

Comments
 (0)