#NEWLINE# def test_expectedFailures( self ) : #NEWLINE# #INDENT# self . suite ( r . reporter ) #NEWLINE# expectedReasons = [ 'todo1' , 'todo2' ] #NEWLINE# reasonsGiven = [ r . reason for ( t , e , r ) in self . reporter . expectedFailures ] #NEWLINE# self . assertEqual ( expectedReasons , reasonsGiven )