diff --git a/py/test/rsession/executor.py b/py/test/rsession/executor.py index 240b01591..1b9a7b326 100644 --- a/py/test/rsession/executor.py +++ b/py/test/rsession/executor.py @@ -29,6 +29,8 @@ class RunExecutor(object): outcome = Outcome() except Skipped, e: outcome = Outcome(skipped=str(e)) + except (SystemExit, KeyboardInterrupt): + raise except: excinfo = py.code.ExceptionInfo() if isinstance(self.item, py.test.Function):