#NEWLINE# def assertEqualTypeToo( self , expected , result ) : #NEWLINE# #INDENT# self . assertEqual ( expected , result ) #NEWLINE# assert ( type ( expected ) == type ( result ) ) , ( "instance type's do not " + ( 'match: %r!=%r' % ( type ( result ) , type ( result ) ) ) )