test_closing.py: isAlive -> is_alive

isAlive() is deprecated, use is_alive() instead
This commit is contained in:
Jan Sarenik
2019-05-26 09:49:39 +02:00
committed by Christian Decker
parent 441c571650
commit 180ea5bb38

View File

@@ -779,7 +779,7 @@ def test_onchain_middleman(node_factory, bitcoind):
print("Got err from sendpay thread")
raise err
t.join(timeout=1)
assert not t.isAlive()
assert not t.is_alive()
# Three more, l2 can spend to-us.
bitcoind.generate_block(3)