Skip to content

Commit b377048

Browse files
committed
fix some CI failures
[skip cirrus] [skip circle]
1 parent 7d217eb commit b377048

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,
@@ -569,7 +568,7 @@ def test_value_indices03(xp):
569568
assert list(vi.keys()) == list(trueKeys)
570569
for k in [int(x) for x in trueKeys]:
571570
trueNdx = xp.nonzero(a == k, **nnz_kwd)
572-
assert vi[k].shape[0] == trueNdx.shape[0]
571+
assert len(vi[k]) == len(trueNdx)
573572
for vik, true_vik in zip(vi[k], trueNdx):
574573
xp_assert_equal(vik, true_vik)
575574

0 commit comments

Comments
 (0)