packages/python/cython/numpy-2.patch
2024-09-22 14:17:54 +02:00

14 lines
488 B
Diff

diff --git a/tests/run/ufunc.pyx b/tests/run/ufunc.pyx
index f489a07d5..47bb0bfbc 100644
--- a/tests/run/ufunc.pyx
+++ b/tests/run/ufunc.pyx
@@ -125,7 +125,7 @@ def test_plus_one_twice():
>>> 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))
+ (np.complex128(1+1j), np.complex128(1+1j))
2D variant skipped because it's hard to sensible doctest
"""