The pupil went to school with trainers after finding his school shoes had split