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 >