(predicate, reason=None)
| 25 | |
| 26 | |
| 27 | def fails_if(predicate, reason=None): |
| 28 | rule = compound() |
| 29 | pred = _as_predicate(predicate, reason) |
| 30 | rule.fails.add(pred) |
| 31 | return rule |
| 32 | |
| 33 | |
| 34 | def warns_if(predicate, expression, assert_): |
no test coverage detected