From: Stefan Behnel Date: Sun, 14 Dec 2008 14:19:00 +0000 (+0100) Subject: extended test case to make sure we didn't break some things X-Git-Tag: 0.11-beta~127 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7e9a45171b97766ced0849a042e4ba9411be6ebd;p=cython.git extended test case to make sure we didn't break some things --- diff --git a/tests/run/consts.pyx b/tests/run/consts.pyx index 11b91a60..6e1fe8df 100644 --- a/tests/run/consts.pyx +++ b/tests/run/consts.pyx @@ -7,6 +7,8 @@ True True >>> arithm() == 9*2+3*8/6-10 True +>>> lists() == [1,2,3] + [4,5,6] +True """ def add(): @@ -20,3 +22,6 @@ def mul(): def arithm(): return 9*2+3*8/6-10 + +def lists(): + return [1,2,3] + [4,5,6]