Set __tracebackhide__ for CallbackChecker.check
This commit is contained in:
parent
8ac3162425
commit
a58abf8f4c
@ -203,6 +203,7 @@ class CallbackChecker(QObject):
|
|||||||
|
|
||||||
def check(self, expected):
|
def check(self, expected):
|
||||||
"""Wait until the JS result arrived and compare it."""
|
"""Wait until the JS result arrived and compare it."""
|
||||||
|
__tracebackhide__ = True
|
||||||
if self._result is self.UNSET:
|
if self._result is self.UNSET:
|
||||||
with self._qtbot.waitSignal(self.got_result, timeout=2000):
|
with self._qtbot.waitSignal(self.got_result, timeout=2000):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user