From: Richard Kettlewell Date: Thu, 15 Oct 2009 19:55:15 +0000 (+0100) Subject: Don't catch SystemExit 77 in tests. X-Git-Tag: 5.0~89 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/4b37a75e9cb89088451753c7467d1d1bcddd29e0?ds=sidebyside Don't catch SystemExit 77 in tests. --- diff --git a/tests/dtest.py b/tests/dtest.py index 8a4644a..49bbfaa 100644 --- a/tests/dtest.py +++ b/tests/dtest.py @@ -333,7 +333,7 @@ def run(module=None, report=True): stdtracks() try: module.test() - except: + except Exception, e: traceback.print_exc(None, sys.stderr) failures += 1 stop_daemon()