when Harry tried the animagus potion, he didn't expect what he got. He had just defeated the basilisk in the CoS(Chamber of Secrets)and Hermione(along with Ron and herself)gave him a potion that shows you what your animagus form is, or in better terms, it turns you into it for an hour if you have any form, but Harry, well, he's gonna need a lot of space.