From a58abf8f4c5614983d96f9effc160b1937276d8b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 8 Sep 2018 12:15:14 +0200 Subject: [PATCH] Set __tracebackhide__ for CallbackChecker.check --- tests/helpers/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/helpers/utils.py b/tests/helpers/utils.py index 06cf54467..66b3f8133 100644 --- a/tests/helpers/utils.py +++ b/tests/helpers/utils.py @@ -203,6 +203,7 @@ class CallbackChecker(QObject): def check(self, expected): """Wait until the JS result arrived and compare it.""" + __tracebackhide__ = True if self._result is self.UNSET: with self._qtbot.waitSignal(self.got_result, timeout=2000): pass