aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-05-13 15:20:17 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-05-13 15:20:17 -0700
commit92ec27d9824358a1fa904a0bec49b51e970aeea9 (patch)
treee6c48dac91e8b56dd360f0f5fbb6ca03debfa5f3 /test
parent284710dd287586fad9cc41b850a97d392b05d925 (diff)
Add 'traceback' as suspicious test output pattern.
Diffstat (limited to 'test')
-rw-r--r--test/conftest.py2
1 files changed, 1 insertions, 1 deletions
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)