From: Stefan Behnel Date: Thu, 13 Jan 2011 16:16:21 +0000 (+0100) Subject: extended test case X-Git-Tag: 0.14.1rc0~14 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d8207c2b908e1f707c5bbfcb1208660ae3ade881;p=cython.git extended test case --- diff --git a/tests/run/type_inference.pyx b/tests/run/type_inference.pyx index e36e43ba..a056fe34 100644 --- 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