had been entertaining
-había estado entreteniendo
Pasado perfecto progresivo para el sujetodel verboentertain.Hay otras traducciones para esta conjugación.

entertain

Not only that, when your teacher learns that you had been entertaining the funny thought that he was going to do the studying for you, he would probably expel you from school and send you to the lunatic asylum to have your head examined!
No solo eso, cuando tu profesor se entere que has estado entretenido con el pensamiento absurdo de que él iba a estudiar por ti, ¡probablemente te expulse del colegio y te envíe a un asilo para lunáticos a fin de que te examinen la cabeza!
Palabra del día
la cometa