tests: Use __tracebackhide__ in wait_for methods.

This commit is contained in:
Florian Bruhin 2015-11-13 06:45:55 +01:00
parent ce66d731f2
commit 0085421ec6
2 changed files with 2 additions and 0 deletions

View File

@ -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):

View File

@ -227,6 +227,7 @@ class Process(QObject):
Return:
The matched line.
"""
__tracebackhide__ = True
if timeout is None:
if 'CI' in os.environ:
timeout = 15000