projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
098f56b
)
fix test case
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 17 Apr 2009 07:11:16 +0000
(09:11 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 17 Apr 2009 07:11:16 +0000
(09:11 +0200)
tests/run/cdivision_CEP_516.pyx
patch
|
blob
|
history
diff --git
a/tests/run/cdivision_CEP_516.pyx
b/tests/run/cdivision_CEP_516.pyx
index 9866594e4c866eb37c08215d97bc2576c44e49fc..31b5e3d02af6898ee2d5d171ac777a77e1b08e49 100644
(file)
--- a/
tests/run/cdivision_CEP_516.pyx
+++ b/
tests/run/cdivision_CEP_516.pyx
@@
-147,14
+147,14
@@
def mod_div_zero_int(int a, int b, int c):
try:
return verbose_call(a % b) / c
except ZeroDivisionError, ex:
- return
ex.message
+ return
str(ex)
@cython.cdivision(False)
def mod_div_zero_float(float a, float b, float c):
try:
return (a % b) / c
except ZeroDivisionError, ex:
- return
ex.message
+ return
str(ex)
@cython.cdivision(False)
def py_div_long(long a, long b):