Lines Matching refs:_fail
96 def _fail(*args):
118 _fail("Check failed", a, "!=", b, comment)
124 _fail("Check failed", a, "==", b, comment)
129 _fail("Check failed", a, "does not eval to True", comment)
134 _fail("Check failed", a, "is None", comment)
139 _fail("Check failed", a, "not in", b, comment)
144 _fail("Check failed", a, "in", b, comment)
149 _fail("Check failed", a, "is not", b, comment)
154 _fail("Check failed", a, "<", b, comment)
159 _fail("Check failed", a, "<=", b, comment)
164 _fail("Check failed", a, ">=", b, comment)
177 _fail(f"Expected exception {str(self.expected_type.__name__)}, none raised")
179 _fail(f"Expected exception {str(self.expected_type.__name__)}, raised {str(exc_type.__name__)}")
191 _fail("Waiting for condition timed out", comment)