summaryrefslogtreecommitdiff
path: root/tests/end2end/fixtures/quteprocess.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-09-28 15:09:36 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-09-28 15:22:33 +0200
commitc91699517119428edefd6c2123215bca8718210e (patch)
tree5f1b1e7db97e15cd5baa7e62423354a977e2ae6d /tests/end2end/fixtures/quteprocess.py
parent361400344e66713b651f03ab6eaf3619c97390f6 (diff)
downloadqutebrowser-c91699517119428edefd6c2123215bca8718210e.tar.gz
qutebrowser-c91699517119428edefd6c2123215bca8718210e.zip
tests: Set __tracebackhide__ in send_cmd
Diffstat (limited to 'tests/end2end/fixtures/quteprocess.py')
-rw-r--r--tests/end2end/fixtures/quteprocess.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py
index 78fd0e48a..73f5f5d64 100644
--- a/tests/end2end/fixtures/quteprocess.py
+++ b/tests/end2end/fixtures/quteprocess.py
@@ -749,6 +749,7 @@ class QuteProc(testprocess.Process):
Return:
The parsed log line with "command called: ..." or None.
"""
+ __tracebackhide__ = lambda e: e.errisinstance(testprocess.WaitForTimeout)
summary = command
if count is not None:
summary += ' (count {})'.format(count)