mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 02:31:05 +02:00
script, test: fix python linter E275 errors with flake8 5.0.4
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user