I would hope if teachers are teasing students, they have built up a strong rapport with them where both sides feel it is appropriate to joke around. If the teasing is not appreciated, the student should politely discuss their concerns with their teacher.
