add note to look into unittest.TestResult.buffer