code: def _show_fixture_action(fixturedef, msg):
      config = fixturedef._fixturemanager.config
      capman = config.pluginmanager.getplugin("capturemanager")
      if capman:
          capman.suspend_global_capture()
          out, err = capman.read_global_capture()
  
      tw = config.get_terminal_writer()
      tw.line()
      tw.write(" " * 2 * fixturedef.scopenum)
      tw.write(
          "{step} {scope} {fixture}".format(
              step=msg.ljust(8),  # align the output to TEARDOWN
              scope=fixturedef.scope[0].upper(),
              fixture=fixturedef.argname,
          )
      )
  
      if msg == "SETUP":
          deps = sorted(
              arg for arg in fixturedef.argnames if arg != "request"
          )
          if deps:
              tw.write(" (fixtures used: {})".format(", ".join(deps)))
  
      if hasattr(fixturedef, "cached_param"):
          tw.write("[{}]".format(fixturedef.cached_param))
  
      if capman:
          capman.resume_global_capture()
          sys.stdout.write(out)
          sys.stderr.write(err)
  
file_path: catboost/contrib/python/pytest/py2/_pytest/setuponly.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import pytest
label_desc: Use image node_id 4 for calling a global function with example usage: _show_fixture_action(fixturedef, msg) without return types