From: Stefan Behnel Date: Fri, 17 Apr 2009 07:11:16 +0000 (+0200) Subject: fix test case X-Git-Tag: 0.11.2.rc1~60 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e7a0c34d611dd64eec557b3c8f2abfb9a916c42c;p=cython.git fix test case --- diff --git a/tests/run/cdivision_CEP_516.pyx b/tests/run/cdivision_CEP_516.pyx index 9866594e..31b5e3d0 100644 --- 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):