def assertIsNot(self, expr1, expr2, msg=None):
if expr1 is expr2:<EOL><INDENT>standardMsg = '<STR_LIT>' % (safe_repr(expr1),)<EOL>self.fail(self._formatMessage(msg, standardMsg))<EOL><DEDENT>
Just like self.assertTrue(a is not b), but with a nicer default message.