mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-05 02:05:10 +01:00
Compare to None with is/is not
This commit is contained in:
@@ -84,7 +84,7 @@ class PrioritiseTransactionTest(BitcoinTestFramework):
|
||||
high_fee_tx = x
|
||||
|
||||
# Something high-fee should have been mined!
|
||||
assert(high_fee_tx != None)
|
||||
assert(high_fee_tx is not None)
|
||||
|
||||
# Add a prioritisation before a tx is in the mempool (de-prioritising a
|
||||
# high-fee transaction so that it's now low fee).
|
||||
|
||||
Reference in New Issue
Block a user