curate's egg (plural curates' eggs)
From an 1895 cartoon in Punch, in which a timid curate assures his host, the bishop, that "parts" of his bad egg are excellent.