From 6a2afa7e9475bf426203ed050ff7a360f5ff1230 Mon Sep 17 00:00:00 2001 From: David Halter Date: Mon, 22 Jul 2013 14:42:24 +0200 Subject: [PATCH] failing test for illegal unpacking with * --- test/completion/functions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/completion/functions.py b/test/completion/functions.py index bb00efb3..54bd71b0 100644 --- a/test/completion/functions.py +++ b/test/completion/functions.py @@ -160,10 +160,13 @@ def args_func(*args): exe = args_func(1, "") #? int() exe[0] - #? str() exe[1] +# illegal args (TypeError) +#? +args_func(*1)[0] + _list = [1,""] exe2 = args_func(_list)[0]