The rest of the class was bottling up the potions and keeping at the desk when Hermione deliberately broke the flask Draco and she had filled, so they would have to clean up and be the last ones there.