def METHOD_NAME(client: Client):
    inp1 = messages.TxInputType(
        address_n=parse_path("m/44h/0h/10h/0/5"),
        amount=390_000,
        prev_hash=TXHASH_d5f65e,
        prev_index=0,
    )
    out1 = messages.TxOutputType(
        op_return_data=b"test of the op_return data",
        amount=10_000,
        script_type=messages.OutputScriptType.PAYTOOPRETURN,
    )
    with client:
        client.set_expected_responses(
            [request_input(0), request_output(0), messages.Failure()]
        )
        with pytest.raises(
            TrezorFailure, match="OP_RETURN output with non-zero amount"
        ):
            btc.sign_tx(client, "Bitcoin", [inp1], [out1], prev_txes=TX_API)