'Check that the expression is true.'

def assertTrue(self, expr, msg=None):

    if (not expr):
        msg = self._formatMessage(msg, ('%s    is    not    true' % safe_repr(expr)))
        raise self.failureException(msg)
