chiark / gitweb /
Don't catch SystemExit 77 in tests.
authorRichard Kettlewell <rjk@greenend.org.uk>
Thu, 15 Oct 2009 19:55:15 +0000 (20:55 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Thu, 15 Oct 2009 19:55:15 +0000 (20:55 +0100)
tests/dtest.py

index 8a4644a..49bbfaa 100644 (file)
@@ -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()