To me they're both fine. I'm more concerned with the lack of antecedent for he in both sentences. In context, it might be clear; but here, it sounds like the teacher will not pass the course.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.