#NEWLINE# def assertDescription( self , expected_description , described_object ) : #NEWLINE# #INDENT# output = BufferedOutput ( BufferedOutput . VERBOSITY_NORMAL , True ) #NEWLINE# self . get_descriptor ( ) . describe ( output , described_object , raw_output = True ) #NEWLINE# fetched = output . fetch ( ) . replace ( os . linesep , '\n' ) . strip ( ) #NEWLINE# self . assertEqual ( expected_description . strip ( ) , fetched )