From 7c5d73afeb24934d8ff69078f46ef097472cafa8 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 4 Dec 2009 07:25:03 +0100 Subject: [PATCH] fix test case when safe type inference is enabled --- tests/run/typedfieldbug_T303.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/run/typedfieldbug_T303.pyx b/tests/run/typedfieldbug_T303.pyx index e80b4ead..82094d4b 100644 --- a/tests/run/typedfieldbug_T303.pyx +++ b/tests/run/typedfieldbug_T303.pyx @@ -44,7 +44,7 @@ def f(): 42.0 42.0 """ - c = MyClass() + cdef object c = MyClass() print c.actual_double print c.float_isreally_double @@ -55,10 +55,10 @@ def longdouble_access(): ... SystemError: bad memberdescr type """ - c = MyClass() + cdef object c = MyClass() print c.float_isreally_longdouble def readonly(): - c = MyClass() + cdef object c = MyClass() c.actual_double = 3 -- 2.26.2