From: Stefan Behnel Date: Fri, 17 Apr 2009 07:11:16 +0000 (+0200) Subject: fix test case X-Git-Tag: 0.12.alpha0~315 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be696078f02a5b7617f04200d6ff58cf148d5f22;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):