code: def _prunetraceback(self, excinfo):
      Function._prunetraceback(self, excinfo)
      traceback = excinfo.traceback.filter(
          lambda x: not x.frame.f_globals.get("__unittest")
      )
      if traceback:
          excinfo.traceback = traceback
  
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 15 for calling the TestCaseFunction obj's underlying member method code with example usage: obj._prunetraceback(excinfo) without return types