A pulley with mass
When the pulley has rotational inertia the rope's tensions on its two sides differ, because their difference is the torque that spins it up, and the hanging masses accelerate more slowly than with a light pulley.
From AP Physics C: Mechanics.