Skip to content

Commit 756d23a

Browse files
committed
fix test expectations, to match broadcasting behaviour
1 parent c166eb2 commit 756d23a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_numpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_numpy_clip_out_and_broadcast():
2323

2424
assert result is out
2525
assert out.dtype == x.dtype
26-
np.testing.assert_array_equal(out, xp.asarray([[15, 20, 30], [25, 45, 60]], dtype=np.uint8))
26+
np.testing.assert_array_equal(out, xp.asarray([[15, 35, 55], [25, 45, 60]], dtype=np.uint8))
2727

2828

2929
def test_numpy_clip_uint8_casts_bounds_outside_range():

0 commit comments

Comments
 (0)