As conjugation is effected by the electronegativity, I believe it comes down to the net electronegativity (-Inductive effect) of the group attached to the benzene ring. Hence, benzene with pyridine is expected to show more pie- pie interaction.
Kindly correct me if you have a different argument.