From 459cb637aca80f744a8399e84bc78fab60de0b5c Mon Sep 17 00:00:00 2001 From: Jon Atack Date: Tue, 4 Oct 2022 15:18:42 +0200 Subject: script, test: fix python linter E275 errors with flake8 5.0.4 --- test/functional/test_framework/script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/functional/test_framework/script.py') diff --git a/test/functional/test_framework/script.py b/test/functional/test_framework/script.py index ebff849cc9..f345bf02db 100644 --- a/test/functional/test_framework/script.py +++ b/test/functional/test_framework/script.py @@ -824,10 +824,10 @@ def taproot_tree_helper(scripts): if len(scripts) == 1: # One entry: treat as a leaf script = scripts[0] - assert(not callable(script)) + assert not callable(script) if isinstance(script, list): return taproot_tree_helper(script) - assert(isinstance(script, tuple)) + assert isinstance(script, tuple) version = LEAF_VERSION_TAPSCRIPT name = script[0] code = script[1] -- cgit v1.2.3