From 92ec27d9824358a1fa904a0bec49b51e970aeea9 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Fri, 13 May 2016 15:20:17 -0700 Subject: Add 'traceback' as suspicious test output pattern. --- test/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/conftest.py b/test/conftest.py index d14350d..0da2f4b 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -35,7 +35,7 @@ def check_test_output(capfd): if count == 0 or count - cnt > 0: stderr = cp.sub('', stderr, count=count - cnt) - for pattern in ('exception', 'error', 'warning', 'fatal', + for pattern in ('exception', 'error', 'warning', 'fatal', 'traceback', 'fault', 'crash(?:ed)?', 'abort(?:ed)'): cp = re.compile(r'\b{}\b'.format(pattern), re.IGNORECASE | re.MULTILINE) hit = cp.search(stderr) -- cgit v1.2.3