projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39d4279
)
test update
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 17 Jan 2008 22:21:50 +0000
(23:21 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 17 Jan 2008 22:21:50 +0000
(23:21 +0100)
tests/run/tuplereassign.pyx
patch
|
blob
|
history
diff --git
a/tests/run/tuplereassign.pyx
b/tests/run/tuplereassign.pyx
index 31de486f8dfb25447f32183f2d0884eb6715a776..a2a9b0d728c6dae82bce21e7872b286baac10d31 100644
(file)
--- a/
tests/run/tuplereassign.pyx
+++ b/
tests/run/tuplereassign.pyx
@@
-5,6
+5,9
@@
__doc__ = """
3
>>> test( (1,2,3) )
3
+ >>> testnonsense()
+ Traceback (most recent call last):
+ TypeError: 'int' object is not iterable
"""
def test1(t):
@@
-18,3
+21,7
@@
def test3(t):
def test(t):
t,t,t = t
return t
+
+def testnonsense():
+ t,t,t = 1*2
+ return t