projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
623c071
)
fix test case in Py3
author
Lisandro Dalcin
<dalcinl@gmail.com>
Wed, 17 Feb 2010 13:12:46 +0000
(10:12 -0300)
committer
Lisandro Dalcin
<dalcinl@gmail.com>
Wed, 17 Feb 2010 13:12:46 +0000
(10:12 -0300)
tests/run/complex_numbers_T305.pyx
patch
|
blob
|
history
diff --git
a/tests/run/complex_numbers_T305.pyx
b/tests/run/complex_numbers_T305.pyx
index d3ce1024ae2deeccf51271b97fa2386a1e96c3f0..0df26f42788c23eec042a41bf895cdee9a7411f0 100644
(file)
--- 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):