#NEWLINE# def testAssertIsNot( self ) : #NEWLINE# #INDENT# a = object ( ) #NEWLINE# b = object ( ) #NEWLINE# self . testCase . assertIsNot ( a , b ) #NEWLINE# with self . testCase . assertRaises ( AssertionError ) : #NEWLINE# #INDENT# self . testCase . assertIsNot ( a , a )