Commit d8207c2b authored by Stefan Behnel's avatar Stefan Behnel

extended test case

parent 3ac5fb86
...@@ -207,6 +207,8 @@ def builtin_type_methods(): ...@@ -207,6 +207,8 @@ def builtin_type_methods():
assert typeof(l) == 'list object', typeof(l) assert typeof(l) == 'list object', typeof(l)
append = l.append append = l.append
assert typeof(append) == 'Python object', typeof(append) assert typeof(append) == 'Python object', typeof(append)
append(1)
assert l == [1], str(l)
cdef int func(int x): cdef int func(int x):
return x+1 return x+1
......
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