South-African retailer Massmart has announced the resignation of its CEO Grant Pattison.