#NEWLINE# def apply( self , suite ) : #NEWLINE# #INDENT# cache = [ ] #NEWLINE# for testcase in suite . testcases : #NEWLINE# #INDENT# name = normalize_name ( testcase . name ) #NEWLINE# if ( name in suite ) : #NEWLINE# #INDENT# self . report ( suite , ( "Duplicate testcase name '%s'" % testcase . name ) , testcase . linenumber ) #NEWLINE# #UNINDENT# cache . append ( name )