From f8e95db6b0a3978327e68fa859b3e98537640e6e Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Fri, 17 Apr 2015 17:45:50 +1200 Subject: housekeeping: ++tests, coverage annotations --- test/tutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/tutils.py') diff --git a/test/tutils.py b/test/tutils.py index 5876e5e6..c1e55a61 100644 --- a/test/tutils.py +++ b/test/tutils.py @@ -104,7 +104,7 @@ def raises(exc, obj, *args, **kwargs): """ try: apply(obj, args, kwargs) - except Exception, v: + except (Exception, SystemExit), v: if isinstance(exc, basestring): if exc.lower() in str(v).lower(): return -- cgit v1.2.3