Check that the expression is false.
(self, expr, msg=None)
| 755 | raise self.failureException(msg) |
| 756 | |
| 757 | def assertFalse(self, expr, msg=None): |
| 758 | """Check that the expression is false.""" |
| 759 | if expr: |
| 760 | msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) |
| 761 | raise self.failureException(msg) |
| 762 | |
| 763 | def assertTrue(self, expr, msg=None): |
| 764 | """Check that the expression is true.""" |