From 32de486ce688e2d6195d1fce74295291369ceec0 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Wed, 17 Feb 2010 10:12:46 -0300 Subject: [PATCH] fix test case in Py3 --- tests/run/complex_numbers_T305.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run/complex_numbers_T305.pyx b/tests/run/complex_numbers_T305.pyx index d3ce1024..0df26f42 100644 --- a/tests/run/complex_numbers_T305.pyx +++ b/tests/run/complex_numbers_T305.pyx @@ -21,7 +21,7 @@ def test_arithmetic(double complex z, double complex w): >>> test_arithmetic(5-10j, 3+4j) ((5-10j), (-5+10j), (8-6j), (2-14j), (55-10j), (-1-2j)) """ - return +z, -z, z+w, z-w, z*w, z/w + return +z, -z+0, z+w, z-w, z*w, z/w @cython.cdivision(False) def test_div_by_zero(double complex z): -- 2.26.2