From 262b38430b7cb65ccd01d2dbbfa9ce4ec5ef4cb9 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 29 Jul 2020 10:33:39 +0200 Subject: [PATCH] tests: Set pytrace=False --- tests/end2end/fixtures/quteprocess.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py index f21b308eb..5fb095583 100644 --- a/tests/end2end/fixtures/quteprocess.py +++ b/tests/end2end/fixtures/quteprocess.py @@ -683,9 +683,7 @@ class QuteProc(testprocess.Process): if bad_msgs: text = 'Logged unexpected errors:\n\n' + '\n'.join( str(e) for e in bad_msgs) - # We'd like to use pytrace=False here but don't as a WORKAROUND - # for https://github.com/pytest-dev/pytest/issues/1316 - pytest.fail(text) + pytest.fail(text, pytrace=False) else: self._maybe_skip() finally: