I remember a group of young men studying to be wizards in a renaissance-ish era with a master wizard. Two of the young men get into a argument and dare eachother to turn into animals. But the master wizard comes in and tells them not to because a wizard once turned himself into a bear too many times and lost his humanity. The protagonist still turns himself into a bird of prey.
Earthsea ( 2004)