Compare to None with is/is not

This commit is contained in:
Daniel Ingram
2018-12-10 15:11:37 -05:00
parent 1b89074ae2
commit 17b55202da
6 changed files with 14 additions and 14 deletions

View File

@ -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).