code: def _test_pytest_function(pyfuncitem):
      _pdb = pytestPDB._init_pdb("runcall")
      testfunction = pyfuncitem.obj
      pyfuncitem.obj = _pdb.runcall
      if (
          "func" in pyfuncitem._fixtureinfo.argnames
      ):  # pragma: no branch
          raise ValueError(
              "--trace can't be used with a fixture named func!"
          )
      pyfuncitem.funcargs["func"] = testfunction
      new_list = list(pyfuncitem._fixtureinfo.argnames)
      new_list.append("func")
      pyfuncitem._fixtureinfo.argnames = tuple(new_list)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import os
  import argparse
  import pdb
  import sys
  from doctest import UnexpectedException
  from _pytest import outcomes
  from _pytest.config import hookimpl
  from _pytest.config.exceptions import UsageError
label_desc: Use image node_id 6 for calling a global function with example usage: _test_pytest_function(pyfuncitem) without return types