projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ac5fb8
)
extended test case
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 13 Jan 2011 16:16:21 +0000
(17:16 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 13 Jan 2011 16:16:21 +0000
(17:16 +0100)
tests/run/type_inference.pyx
patch
|
blob
|
history
diff --git
a/tests/run/type_inference.pyx
b/tests/run/type_inference.pyx
index e36e43baa160b93233e4e41433a9d4f7c97faf14..a056fe34284784f58cef48a29ecddc174175aa10 100644
(file)
--- a/
tests/run/type_inference.pyx
+++ b/
tests/run/type_inference.pyx
@@
-207,6
+207,8
@@
def builtin_type_methods():
assert typeof(l) == 'list object', typeof(l)
append = l.append
assert typeof(append) == 'Python object', typeof(append)
+ append(1)
+ assert l == [1], str(l)
cdef int func(int x):
return x+1