docstr: Read-only property that returns the full string representation
  of ``longrepr``.
  
  .. versionadded:: 3.0
docstr_tok: ["Read-only","property","that","returns","the","full","string","representation","of","``","longrepr","``",".","..","versionadded",":",":","3.0"]
code: def longreprtext(self):
      """
      Read-only property that returns the full string representation
      of ``longrepr``.
  
      .. versionadded:: 3.0
      """
      tw = py.io.TerminalWriter(stringio=True)
      tw.hasmarkup = False
      self.toterminal(tw)
      exc = tw.stringio.getvalue()
      return exc.strip()
  
imports: from pprint import pprint
  import py
  import six
  from _pytest._code.code import ExceptionInfo
  from _pytest._code.code import ReprEntry
  from _pytest._code.code import ReprEntryNative
  from _pytest._code.code import ReprExceptionInfo
  from _pytest._code.code import ReprFileLocation
  from _pytest._code.code import ReprFuncArgs
  from _pytest._code.code import ReprLocals
  from _pytest._code.code import ReprTraceback
  from _pytest._code.code import TerminalRepr
  from _pytest.outcomes import skip
  from _pytest.pathlib import Path
label_desc: Use image node_id 4 for calling the BaseReport obj's underlying member method code with example usage: obj.longreprtext() and returns: exc