#NEWLINE# def removeExistingInstrumentation( self ) : #NEWLINE# #INDENT# instr = self . getElements ( 'instrumentation' , 'android:name' ) #NEWLINE# if ( len ( instr ) <= 0 ) : #NEWLINE# #INDENT# raise NoInstrumentationTagFound ( ) #NEWLINE# #UNINDENT# for elem in instr : #NEWLINE# #INDENT# self . xml . removeChild ( elem )