Skip to content

Commit

Permalink
Merge pull request #133 from simonetgordon/master
Browse files Browse the repository at this point in the history
test_iop fix: assign `res` to in-place operator function #130
  • Loading branch information
asmeurer committed Jun 27, 2022
2 parents 87834dd + 0dfbd23 commit ddd3b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion array_api_tests/test_special_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -1308,7 +1308,7 @@ def test_iop(iop_name, iop, case, oneway_dtypes, oneway_shapes, data):
note(f"{x2=}")

res = xp.asarray(x1, copy=True)
iop(res, x2)
res = iop(res, x2)
# sanity check
ph.assert_result_shape(iop_name, [x1.shape, x2.shape], res.shape)

Expand Down

0 comments on commit ddd3b7a

Please # to comment.