#NEWLINE# def is_same_as( self , other ) : #NEWLINE# #INDENT# "Asserts that the val is identical to other, via 'is' compare." #NEWLINE# if ( self . val is not self ) : #NEWLINE# #INDENT# self . _err ( ( 'Expected <%s> to be identical to <%s>, but was not.' % ( self . val , other ) ) ) #NEWLINE# #UNINDENT# return self