#NEWLINE# def test_postClassCleanupNoErrors( self ) : #NEWLINE# #INDENT# '\n        The post-class cleanup method will not call C{addError} on the result\n        if there are no pending calls or selectables.\n        ' #NEWLINE# reactor = StubReactor ( [ ] ) #NEWLINE# test = object ( ) #NEWLINE# reporter = StubErrorReporter ( ) #NEWLINE# jan = _Janitor ( test , reporter , reactor = self ) #NEWLINE# jan . postClassCleanup ( ) #NEWLINE# self . assertEquals ( reporter . errors , [ ] )