diff options
author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2007-07-16 18:02:40 +0200 |
---|---|---|
committer | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> | 2007-07-16 18:02:40 +0200 |
commit | 10caa388cae0575944737fc0cd7654d3990ace8d (patch) | |
tree | f050aa9e9d7932b0fdbefaca2da1908916777f34 | |
parent | 217a42c137fabee08eedbc438050074d1c6d7dba (diff) | |
download | logilab-common-10caa388cae0575944737fc0cd7654d3990ace8d.tar.gz |
don't catch SystemExit
-rw-r--r-- | pytest.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -266,6 +266,8 @@ class PyTester(object): ttime, ctime = (tend - tstart), (cend - cstart) self.report.feed(filename, testprog.result, ttime, ctime) return testprog + except SystemExit: + raise except Exception, exc: self.report.failed_to_test_module(filename) print 'unhandled exception occured while testing', modname |