#NEWLINE# def test_subunitWithoutAddSkipInstalled( self ) : #NEWLINE# #INDENT# '\n        Some versions of subunit don\'t have "addSkip". For these versions, we\n        report skips as successes.\n        ' #NEWLINE# self . removeMethod ( reporter . TestProtocolClient , 'addSkip' ) #NEWLINE# self . result . addSkip ( self . test , 'reason' ) #NEWLINE# skipOutput = self . stream . getvalue ( ) #NEWLINE# self . stream . truncate ( 0 ) #NEWLINE# self . stream . seek ( 0 ) #NEWLINE# self . result . addSuccess ( self . test ) #NEWLINE# successOutput = self . stream . getvalue ( ) #NEWLINE# self . assertEqual ( self , skipOutput )