Skip to content

Commit

Permalink
Backport ufunc Numpy2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
da-woods committed Dec 25, 2024
1 parent cd62222 commit 8522862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/run/ufunc.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ def test_plus_one_twice():
Test a function returning a fused ctuple
>>> plus_one_twice(int_arr_1d) # doctest: +ELLIPSIS
(array([ 1, 5, 9, 13, 17]...), array([ 1, 5, 9, 13, 17]...))
>>> plus_one_twice(1.j)
((1+1j), (1+1j))
>>> print(*plus_one_twice(1.j))
(1+1j) (1+1j)
2D variant skipped because it's hard to sensible doctest
"""
Expand Down

0 comments on commit 8522862

Please sign in to comment.