Since I had the same reaction as Nick:
Sexism as such is not funny, a mildly* sexist joke that is conscious of its own sexism can indeed be funny, especially in the context of a serious discussion about a teacher's bad moods that does not take the teacher's gender into account (and rightfully so).
[*] 'mildly' because it does refer to a stereotype, but does not imply female inferiority.
Thanks a lot Joep! I still can't believe it was necessary.....
I will remember next time to attach very detailed explanation to avoid being sued as a sexy aikidoka...eegrrr..I mean sexist aikidoka