From be696078f02a5b7617f04200d6ff58cf148d5f22 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 17 Apr 2009 09:11:16 +0200 Subject: [PATCH] fix test case --- tests/run/cdivision_CEP_516.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.26.2