From a8eb6368c475dcfa6a711ffa0844611d34af3842 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Wed, 28 Apr 2010 16:29:02 -0300 Subject: [PATCH] fix testcase --- tests/errors/compile_time_unraisable_T370.pyx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/errors/compile_time_unraisable_T370.pyx b/tests/errors/compile_time_unraisable_T370.pyx index 84345056..6a6c903d 100644 --- a/tests/errors/compile_time_unraisable_T370.pyx +++ b/tests/errors/compile_time_unraisable_T370.pyx @@ -1,7 +1,9 @@ cdef int raiseit(): raise IndexError -if False: raiseit() + +try: raiseit() +except: pass _ERRORS = u""" FIXME: provide a good error message here. -- 2.26.2