'Included for symmetry with assertIsNone.'

def assertIsNotNone(self, obj, msg=None):

    if (obj is None):
        standardMsg = 'unexpectedly    None'
        self.fail(self._formatMessage(msg, standardMsg))
    return
