aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_backwards_compatibility.py
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2022-10-04 15:18:42 +0200
committerjonatack <jon@atack.com>2023-01-03 10:59:56 -0800
commit459cb637aca80f744a8399e84bc78fab60de0b5c (patch)
treebcf2240137aed6850656680f64b881ef1b8201f7 /test/functional/wallet_backwards_compatibility.py
parentcb552c5f21192d2f8f69c07130928c21301a5e7f (diff)
downloadbitcoin-459cb637aca80f744a8399e84bc78fab60de0b5c.tar.xz
script, test: fix python linter E275 errors with flake8 5.0.4
Diffstat (limited to 'test/functional/wallet_backwards_compatibility.py')
-rwxr-xr-xtest/functional/wallet_backwards_compatibility.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/wallet_backwards_compatibility.py b/test/functional/wallet_backwards_compatibility.py
index ffe3c359a9..f55a3758ce 100755
--- a/test/functional/wallet_backwards_compatibility.py
+++ b/test/functional/wallet_backwards_compatibility.py
@@ -193,18 +193,18 @@ class BackwardsCompatibilityTest(BitcoinTestFramework):
assert_equal(txs[1]["txid"], tx1_id)
assert_equal(txs[2]["walletconflicts"], [tx1_id])
assert_equal(txs[1]["replaced_by_txid"], tx2_id)
- assert not(txs[1]["abandoned"])
+ assert not txs[1]["abandoned"]
assert_equal(txs[1]["confirmations"], -1)
assert_equal(txs[2]["blockindex"], 1)
assert txs[3]["abandoned"]
assert_equal(txs[4]["walletconflicts"], [tx3_id])
assert_equal(txs[3]["replaced_by_txid"], tx4_id)
- assert not(hasattr(txs[3], "blockindex"))
+ assert not hasattr(txs[3], "blockindex")
elif wallet_name == "w2":
- assert(info['private_keys_enabled'] == False)
+ assert info['private_keys_enabled'] == False
assert info['keypoolsize'] == 0
else:
- assert(info['private_keys_enabled'] == True)
+ assert info['private_keys_enabled'] == True
assert info['keypoolsize'] == 0
else:
for node in legacy_nodes: