From f8e7386d5aaeb181a7b7839102c9452bc4582807 Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Thu, 14 May 2009 14:39:49 +0200 Subject: [PATCH] Minor testcase improvement --- tests/run/complex_numbers_T305.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/run/complex_numbers_T305.pyx b/tests/run/complex_numbers_T305.pyx index 5d89388a..25479abf 100644 --- a/tests/run/complex_numbers_T305.pyx +++ b/tests/run/complex_numbers_T305.pyx @@ -1,8 +1,8 @@ __doc__ = u""" >>> test_object_conversion(2) - (2+0j) + ((2+0j), (2+0j)) >>> test_object_conversion(2j - 0.5) - (-0.5+2j) + ((-0.5+2j), (-0.5+2j)) >>> test_arithmetic(2j, 4j) (-2j, 6j, -2j, (-8+0j), (0.5+0j)) @@ -54,7 +54,7 @@ cimport cython def test_object_conversion(o): cdef float complex a = o cdef double complex z = o - return z + return (a, z) def test_arithmetic(double complex z, double complex w): return -z, z+w, z-w, z*w, z/w -- 2.26.2