#NEWLINE# def test_basicErrors( self ) : #NEWLINE# #INDENT# "\n        The reporter's L{printErrors} method should include the value of the\n        Todo.\n        " #NEWLINE# self . result . addExpectedFailure ( output . test , Failure ( Exception ( ) ) , makeTodo ( 'some reason' ) ) #NEWLINE# self . result . done ( ) #NEWLINE# output = self . stream . getvalue ( ) . splitlines ( ) [ 3 ] . strip ( ) #NEWLINE# self . assertEqual ( output , "Reason: 'some reason'" )