nose-devs/nose — Issue #193: catch-all exception handler should probably ignore SystemExit exceptions
Author: jpellerin
Created: 2011-12-14 16:03:20+00:00
State: open

What steps will reproduce the problem?
1. write a test case that forks. raise sys.exit() at the end of the
daughter process.

Test output is reported twice since SystemExit is handled like any other
exception. This always creates a spurios traceback reporting a false error.

The only possible workaround is to use os._exit, which could possibly
defeat other exit handlers (maybe not an entirely bad thing in this case).

I'm using version nose 0.8.7.2 on Foresight Linux.

If this was intended behavior and not an oversight, I'd be interested to
know why this approach was chosen.

Google Code Info:
Issue #: 46
Author: mn3m05...@gmail.com
Created On: 2007-03-28T19:05:02.000Z
Closed On: 2007-03-28T19:13:24.000Z