From 0085421ec6729839ff792739ca23760c227cbac7 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 13 Nov 2015 06:45:55 +0100 Subject: [PATCH] tests: Use __tracebackhide__ in wait_for methods. --- tests/integration/quteprocess.py | 1 + tests/integration/testprocess.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/integration/quteprocess.py b/tests/integration/quteprocess.py index 2ccdbc54c..096f35a29 100644 --- a/tests/integration/quteprocess.py +++ b/tests/integration/quteprocess.py @@ -224,6 +224,7 @@ class QuteProc(testprocess.Process): self._data is cleared after every test to provide at least some isolation. """ + __tracebackhide__ = True return super().wait_for(timeout, **kwargs) def wait_for_load_finished(self, path, timeout=15000): diff --git a/tests/integration/testprocess.py b/tests/integration/testprocess.py index 9773d5ef9..0f0bfef85 100644 --- a/tests/integration/testprocess.py +++ b/tests/integration/testprocess.py @@ -227,6 +227,7 @@ class Process(QObject): Return: The matched line. """ + __tracebackhide__ = True if timeout is None: if 'CI' in os.environ: timeout = 15000