From 1ea2954c0e20f41f8e6cbdc83169d679984ffe0a Mon Sep 17 00:00:00 2001 From: David Halter Date: Wed, 25 Apr 2012 00:09:54 +0200 Subject: [PATCH] tuple for loop tests --- test/completion/basic.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/test/completion/basic.py b/test/completion/basic.py index 08f6b2ce..e9ccd1d5 100644 --- a/test/completion/basic.py +++ b/test/completion/basic.py @@ -22,6 +22,22 @@ for a3, b3 in (1,""), (1,""), (1,""): #? ['upper'] b3.upper +for a4, (b4, c4) in (1,("", list)), (1,("", list)): + #? ['real'] + a4.real + #? [] + a4.upper + #? [] + b4.real + #? ['upper'] + b4.upper + #? [] + c4.real + #? ['append'] + c4.append + #? [] + c4.upper + # ----------------- # with statements # -----------------