From 89c93887c3229391728d6aa4711f7b99cc814397 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 17 Jan 2008 23:21:50 +0100 Subject: [PATCH] test update --- tests/run/tuplereassign.pyx | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.26.2