From d8207c2b908e1f707c5bbfcb1208660ae3ade881 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 13 Jan 2011 17:16:21 +0100 Subject: [PATCH] extended test case --- tests/run/type_inference.pyx | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2