diff --git a/tests/test_pay.py b/tests/test_pay.py index 9dd91cc17..41ce0a60b 100644 --- a/tests/test_pay.py +++ b/tests/test_pay.py @@ -520,10 +520,6 @@ def test_sendpay(node_factory): invoices = dst.rpc.listinvoices(label)['invoices'] return len(invoices) == 1 and invoices[0]['status'] == 'unpaid' - def only_one(arr): - assert len(arr) == 1 - return arr[0] - routestep = { 'msatoshi': amt, 'id': l2.info['id'],