Added a fix to a numpy test exception handler that broke python 3 with a variable being deleted by the handler.