The European parliament has passed a resolution condemning Burundi for restricting freedom of expression and violating human rights ahead of elections due in May this year.