projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df6514f
)
extended test case to make sure we didn't break some things
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 14 Dec 2008 14:19:00 +0000
(15:19 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 14 Dec 2008 14:19:00 +0000
(15:19 +0100)
tests/run/consts.pyx
patch
|
blob
|
history
diff --git
a/tests/run/consts.pyx
b/tests/run/consts.pyx
index 11b91a606ea2434c0ab996dba073de8eddbae58e..6e1fe8dfa963cb399bb4880019348b622fd5b4f2 100644
(file)
--- 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]