

def test_twoErrors(self):
    '\n        Test that when two errors get logged, they both get reported as test\n        errors.\n        '
    test = Mask.MockTest('test_double')
    test(self.result)
    self.assertEqual(len(self.result.errors), 2)

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_log.py LogErrors.test_twoErrors/original