projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aae9d0c
)
fix test case when safe type inference is enabled
author
Stefan Behnel
<scoder@users.berlios.de>
Fri, 4 Dec 2009 06:25:03 +0000
(07:25 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Fri, 4 Dec 2009 06:25:03 +0000
(07:25 +0100)
tests/run/typedfieldbug_T303.pyx
patch
|
blob
|
history
diff --git
a/tests/run/typedfieldbug_T303.pyx
b/tests/run/typedfieldbug_T303.pyx
index e80b4ead13f929f6adb10a9458226a6a672a4aa8..82094d4be87dd2a565e1cee4f84e24bb133fbcb9 100644
(file)
--- a/
tests/run/typedfieldbug_T303.pyx
+++ b/
tests/run/typedfieldbug_T303.pyx
@@
-44,7
+44,7
@@
def f():
42.0
42.0
"""
- c = MyClass()
+ c
def 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()
+ c
def object c
= MyClass()
print c.float_isreally_longdouble
def readonly():
- c = MyClass()
+ c
def object c
= MyClass()
c.actual_double = 3