'Just like self.assertTrue(a <= b), but with a nicer default message.'

def assertLessEqual(self, a, b, msg=None):

    if (not (a <= b)):
        standardMsg = ('%s    not    less    than    or    equal    to    %s' % (safe_repr(a), safe_repr(b)))
        self.fail(self._formatMessage(msg, standardMsg))
