class_docstr: This class is used to keep useful information about the execution of a
  test method.
docstr: Return a text representation of an exception thrown by a test
  method.
docstr_tok: ["Return","a","text","representation","of","an","exception","thrown","by","a","test","method","."]
code: def get_error_info(self):
      """Return a text representation of an exception thrown by a test
      method.
      """
      if not self.err:
          return ""
      return self.test_result._exc_info_to_string(
          self.err, self.test_method
      )
  
imports: from __future__ import absolute_import
  import os
  import sys
  import time
  from unittest import TestResult, TextTestResult, TextTestRunner
  import xml.dom.minidom
label_desc: Use image node_id 4 for calling the _TestInfo obj's underlying member method code with example usage: obj.get_error_info() and returns: self, str