'The post-class cleanup method will not call C{addError} on the result
if there are no pending calls or selectables.'

def test_postClassCleanupNoErrors(self):

    reactor = StubReactor([])
    test = object()
    reporter = StubErrorReporter()
    jan = _Janitor(test, reporter, reactor=reactor)
    jan.postClassCleanup()
    self.assertEqual(reporter.errors, [])
