From f505a9418b95386271116c087660c5a1247334b5 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 21 Aug 2018 14:19:20 +0200 Subject: [PATCH] pytest: Fix lint error --- tests/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index cc2fe9373..7bbc32b12 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -233,7 +233,8 @@ class SimpleBitcoinProxy: # Create a callable to do the actual call proxy = BitcoinProxy(btc_conf_file=self.__btc_conf_file__) - f = lambda *args: proxy._call(name, *args) + def f(*args): + return proxy._call(name, *args) # Make debuggers show rather than >