From ee04997eb26adf3f71dcc12d3210fe5f39c68fe4 Mon Sep 17 00:00:00 2001 From: fijal Date: Wed, 7 Feb 2007 22:35:14 +0100 Subject: [PATCH] [svn r38124] No, this is needed for C-c to work. --HG-- branch : trunk --- py/test/rsession/executor.py | 2 ++ 1 file changed, 2 insertions(+) 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):