Original: This influence can be beneficial as well as detrimental depending on which label an individual is assigned.
Simplified: The teacher treated both groups the same, but the group with a positive expectations had better outcomes than the others; Simply because those with positive expectations made them perform better than other students.