Check that the expression is false.
(self, expr, msg=None)
| 748 | raise self.failureException(msg) |
| 749 | |
| 750 | def assertFalse(self, expr, msg=None): |
| 751 | """Check that the expression is false.""" |
| 752 | if expr: |
| 753 | msg = self._formatMessage(msg, "%s is not false" % safe_repr(expr)) |
| 754 | raise self.failureException(msg) |
| 755 | |
| 756 | def assertTrue(self, expr, msg=None): |
| 757 | """Check that the expression is true.""" |