code: def _get_mark(item, name):
      if LooseVersion(pytest.__version__) >= LooseVersion("3.6.0"):
          mark = item.get_closest_marker(name)
      else:
          mark = item.get_marker(name)
      return mark
  
file_path: catboost/contrib/python/scipy/py3/scipy/conftest.py
imports: import os
  import pytest
  import warnings
  import setuptools
  from distutils.version import LooseVersion
  import numpy
  from scipy._lib._fpumode import get_fpu_mode
  from scipy._lib._testutils import FPUModeChangeWarning
label_desc: Use image node_id 2 for calling a global function with example usage: _get_mark(item, name) and returns: mark