Commit 7c5d73af authored by Stefan Behnel's avatar Stefan Behnel

fix test case when safe type inference is enabled

parent aae9d0c4
...@@ -44,7 +44,7 @@ def f(): ...@@ -44,7 +44,7 @@ def f():
42.0 42.0
42.0 42.0
""" """
c = MyClass() cdef object c = MyClass()
print c.actual_double print c.actual_double
print c.float_isreally_double print c.float_isreally_double
...@@ -55,10 +55,10 @@ def longdouble_access(): ...@@ -55,10 +55,10 @@ def longdouble_access():
... ...
SystemError: bad memberdescr type SystemError: bad memberdescr type
""" """
c = MyClass() cdef object c = MyClass()
print c.float_isreally_longdouble print c.float_isreally_longdouble
def readonly(): def readonly():
c = MyClass() cdef object c = MyClass()
c.actual_double = 3 c.actual_double = 3
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment