#NEWLINE# def test_isReported( self ) : #NEWLINE# #INDENT# '\n        Forcing garbage collection should cause unhandled Deferreds to be\n        reported as errors.\n        ' #NEWLINE# result = reporter . TestResult ( ) #NEWLINE# self . test1 ( result ) #NEWLINE# self . assertEqual ( len ( result . errors ) , 1 , 'Unhandled deferred passed without notice' )