Lines Matching refs:_fail
39 def _fail(*args): function
61 _fail("Check failed", a, "!=", b, comment)
67 _fail("Check failed", a, "==", b, comment)
72 _fail("Check failed", a, "does not eval to True", comment)
77 _fail("Check failed", a, "not in", b, comment)
82 _fail("Check failed", a, "in", b, comment)
87 _fail("Check failed", a, "is not", b, comment)
92 _fail("Check failed", a, "<", b, comment)
97 _fail("Check failed", a, ">=", b, comment)
110 _fail(f"Expected exception {str(self.expected_type.__name__)}, none raised")
112 … _fail(f"Expected exception {str(self.expected_type.__name__)}, raised {str(exc_type.__name__)}")
124 _fail("Waiting for condition timed out", comment)