From 6ab9390bced6f201c27b1e53fc2ddc86f667844d Mon Sep 17 00:00:00 2001 From: David Halter Date: Mon, 24 Dec 2012 01:28:03 +0100 Subject: [PATCH] lambdas: fix remaining problems with tests --- test/completion/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/completion/functions.py b/test/completion/functions.py index 24e3e0e5..501f00b1 100644 --- a/test/completion/functions.py +++ b/test/completion/functions.py @@ -401,7 +401,7 @@ with_lambda(lambda x: x) #? float() with_lambda(lambda x, y: y, y=1.0) -arg_func = lambda *args, **kwargs: args[0], kwargs['a'] +arg_func = lambda *args, **kwargs: (args[0], kwargs['a']) #? int() arg_func(1, 2, a='', b=10)[0] #? list()