From: Lisandro Dalcin Date: Wed, 17 Feb 2010 13:12:46 +0000 (-0300) Subject: fix test case in Py3 X-Git-Tag: 0.13.beta0~340^2~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=32de486ce688e2d6195d1fce74295291369ceec0;p=cython.git fix test case in Py3 --- 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):