From: Stefan Behnel Date: Thu, 17 Jan 2008 22:21:50 +0000 (+0100) Subject: test update X-Git-Tag: 0.9.6.14~47^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=89c93887c3229391728d6aa4711f7b99cc814397;p=cython.git test update --- diff --git a/tests/run/tuplereassign.pyx b/tests/run/tuplereassign.pyx index 31de486f..a2a9b0d7 100644 --- 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