@oristarA,
Pet refers to something he's particularly fond of, whilst diversion means something that's off topic, either for the tutor or the class.
A diversion for the tutor would be where a journalist teaches a class English instead of concentrating on writing a story about political corruption. That's not to say he can't do both, one may be more enjoyable and acts as a break from the day to day grind.
A diversion for the class would be where a discussion about the role of the witches in
Macbeth turns into a debate on neo Paganism looking at Aleister Crowley and modern day witches. In this case the tutor is more interested in witchcraft than
Macbeth, and the class are more than happy to indulge him.
Without more context it's impossible to say which particular diversion is being described.
Btw, I would say
for whom, not
of whom.