'Chek that a L{LoggedSuite} reports any logged errors to its result.'

def test_capturesError(self):

    result = reporter.TestResult()
    suite = runner.LoggedSuite([BreakingSuite()])
    suite.run(result)
    self.assertEqual(len(result.errors), 1)
    self.assertEqual(result.errors[0][0].id(), runner.NOT_IN_TEST)
    self.assertTrue(result.errors[0][1].check(RuntimeError))
