failing test for illegal unpacking with *

This commit is contained in:
David Halter
2013-07-22 14:42:24 +02:00
parent a6e621e39c
commit 6a2afa7e94

View File

@@ -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]