assert_raises_rpc_error(-1,"JSON value is not a number as expected",self.nodes[0].prioritisetransaction,txid,'foo',0)
assert_raises_rpc_error(-8,"Priority is no longer supported, dummy argument to prioritisetransaction must be 0.",self.nodes[0].prioritisetransaction,txid,1,0)
# Test `prioritisetransaction` invalid `fee_delta`
assert_raises_rpc_error(-1,"JSON value is not an integer as expected",self.nodes[0].prioritisetransaction,txid=txid,fee_delta='foo')