Skip to content

Commit ddd3b7a

Browse files
authored
Merge pull request #133 from simonetgordon/master
test_iop fix: assign `res` to in-place operator function #130
2 parents 87834dd + 0dfbd23 commit ddd3b7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: array_api_tests/test_special_cases.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,7 @@ def test_iop(iop_name, iop, case, oneway_dtypes, oneway_shapes, data):
13081308
note(f"{x2=}")
13091309

13101310
res = xp.asarray(x1, copy=True)
1311-
iop(res, x2)
1311+
res = iop(res, x2)
13121312
# sanity check
13131313
ph.assert_result_shape(iop_name, [x1.shape, x2.shape], res.shape)
13141314

0 commit comments

Comments
 (0)