Skip to content

Commit 94442c0

Browse files
authored
Merge pull request scipy#23149 from mdhaber/gh23051
TST: ndimage.vectorized_filter: add missing assertion to test
2 parents ab0ea32 + 59783af commit 94442c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scipy/ndimage/tests/test_filters.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3001,6 +3001,7 @@ def test_gh23046_feature(self, xp):
30013001

30023002
ref = ndimage.vectorized_filter(img, xp.mean, size=(2,), axes=(0,))
30033003
res = ndimage.vectorized_filter(img, xp.mean, size=2, axes=0)
3004+
xp_assert_close(res, ref)
30043005

30053006
def test_gh23046_fix(self, xp):
30063007
# While investigating the feasibility of gh-23046, I noticed a bug when the

0 commit comments

Comments
 (0)