#NEWLINE# def methodB1( self ) : #NEWLINE# #INDENT# name = 'B1' #NEWLINE# self . stats [ name ] += 1 #NEWLINE# if ( self . state [ ( - 1 ) ] == ( 'fail %s' % name ) ) : #NEWLINE# #INDENT# self . failed = True #NEWLINE# self . state = 'failed' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . state = [ name , self . state [ ( - 1 ) ] ]