Remove assignment in conditional.
Remember to restore exception handler in each test.