diff options
Diffstat (limited to 'pym/portage/tests/__init__.py')
-rw-r--r-- | pym/portage/tests/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/tests/__init__.py b/pym/portage/tests/__init__.py index bd41f1ee8..3c3305252 100644 --- a/pym/portage/tests/__init__.py +++ b/pym/portage/tests/__init__.py @@ -153,6 +153,8 @@ class TestCase(unittest.TestCase): try: try: self.setUp() + except SystemExit: + raise except KeyboardInterrupt: raise except: @@ -173,6 +175,8 @@ class TestCase(unittest.TestCase): result.addError(self, sys.exc_info()) try: self.tearDown() + except SystemExit: + raise except KeyboardInterrupt: raise except: |