diff options
Diffstat (limited to 'test/tutils.py')
-rw-r--r-- | test/tutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |