code: def pytest_runtest_makereport(item, call):
      if isinstance(item, TestCaseFunction):
          if item._excinfo:
              call.excinfo = item._excinfo.pop(0)
              try:
                  del call.result
              except AttributeError:
                  pass
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import traceback
  import _pytest._code
  import pytest
  from _pytest.compat import getimfunc
  from _pytest.config import hookimpl
  from _pytest.outcomes import fail
  from _pytest.outcomes import skip
  from _pytest.outcomes import xfail
  from _pytest.python import Class
  from _pytest.python import Function
label_desc: Use image node_id 3 for calling a global function with example usage: pytest_runtest_makereport(item, call) without return types