class_docstr: Result/Exception info a function invocation. 
class_docstr_tok: ["Result\/Exception","info","a","function","invocation","."]
code: def from_call(cls, func, when, reraise=None):
      #: context of invocation: one of "setup", "call",
      #: "teardown", "memocollect"
      start = time()
      excinfo = None
      try:
          result = func()
      except:  # noqa
          excinfo = ExceptionInfo.from_current()
          if reraise is not None and excinfo.errisinstance(reraise):
              raise
          result = None
      stop = time()
      return cls(
          start=start,
          stop=stop,
          when=when,
          result=result,
          excinfo=excinfo,
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import bdb
  import os
  import sys
  from time import time
  import attr
  import six
  from .reports import CollectErrorRepr
  from .reports import CollectReport
  from .reports import TestReport
  from _pytest._code.code import ExceptionInfo
  from _pytest.compat import safe_str
  from _pytest.outcomes import Exit
  from _pytest.outcomes import Skipped
  from _pytest.outcomes import TEST_OUTCOME
label_desc: Use image node_id 2 for calling the CallInfo obj's underlying member method code with example usage: obj.from_call(cls, func, when, reraise) and returns: cls