nose-devs/nose — Issue #315: Add support for unhandled exception hooks
Author: jpellerin
Created: 2011-12-14 16:07:22+00:00
State: closed

I have tests that calls code that raises custom Exception subclasses when
errors occur. Because nose doesn't know about these subclasses I am not
able to see any of the useful custom information stored within them
(outside a debugger).

I would be very helpful to have an unhandled exception "hook" that Nose
would callback. One nice way to do this would be to register hooks on
specific exception types. Then nose could do an issubclass or isinstance
check to callback the proper hook.

Printing done from the hook code should then be output directly, not captured.

Google Code Info:
Issue #: 229
Author: schi...@gmail.com
Created On: 2009-01-14T00:17:20.000Z
Closed On: 2009-01-14T15:07:33.000Z