uitests: Silence noisy harmless warnings

Could mean a code error but more likely is just slightly racy
UI bits disappearing that we weren't looking for anyways, so hide
it behind a debug statement
This commit is contained in:
Cole Robinson 2018-02-08 14:23:11 -05:00
parent 8e7b5ed2d8
commit 1550e70a4e

View File

@ -174,7 +174,9 @@ class _FuzzyPredicate(dogtail.predicate.Predicate):
return
return True
except Exception as e:
print("got predicate exception: %s" % e)
logging.debug(
"got predicate exception name=%s role=%s labeller=%s: %s",
(self._name, self._roleName, self._labeller_text, e))
def check_in_loop(func, timeout=2):