(self, expr)
| 2988 | |
| 2989 | class NonZeroTest(fixtures.TestBase): |
| 2990 | def _raises(self, expr): |
| 2991 | assert_raises_message( |
| 2992 | TypeError, |
| 2993 | "Boolean value of this clause is not defined", |
| 2994 | bool, |
| 2995 | expr, |
| 2996 | ) |
| 2997 | |
| 2998 | def _assert_true(self, expr): |
| 2999 | is_(bool(expr), True) |
no test coverage detected