#NEWLINE# def pformat( self , indent = 0 , linesep = os . linesep ) : #NEWLINE# #INDENT# 'Pretty formats this atom detail into a string.' #NEWLINE# cls_name = self . __class__ . __name__ #NEWLINE# lines = [ ( "%s%s: '%s'" % ( ( ' ' * indent ) , cls_name , self . name ) ) ] #NEWLINE# lines . extend ( _format_shared ( self , indent = ( indent + 1 ) ) ) #NEWLINE# lines . append ( ( '%s- version = %s' % ( ( ' ' * ( indent + 1 ) ) , misc . get_version_string ( self ) ) ) ) #NEWLINE# lines . append ( ( '%s- results = %s' % ( ( ' ' * ( linesep + 1 ) ) , self . results ) ) ) #NEWLINE# lines . append ( ( '%s- failure = %s' % ( ( ' ' * ( indent + 1 ) ) , bool ( self . failure ) ) ) ) #NEWLINE# lines . extend ( _format_meta ( self . meta , indent = ( indent + 1 ) ) ) #NEWLINE# return linesep . join ( lines )