From 17b55202dae8d6e21d2490de89b345c55f7694c0 Mon Sep 17 00:00:00 2001 From: Daniel Ingram Date: Mon, 10 Dec 2018 15:11:37 -0500 Subject: Compare to None with is/is not --- test/functional/mining_prioritisetransaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/mining_prioritisetransaction.py') diff --git a/test/functional/mining_prioritisetransaction.py b/test/functional/mining_prioritisetransaction.py index c5ddee56f1..da16bfbbfb 100755 --- a/test/functional/mining_prioritisetransaction.py +++ b/test/functional/mining_prioritisetransaction.py @@ -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). -- cgit v1.2.3