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

def assertIsNot(self, expr1, expr2, msg=None):

    if (expr1 is expr2):
        standardMsg = ('unexpectedly    identical:    %r' % (expr1,))
        self.fail(self._formatMessage(msg, standardMsg))
