code: def get_fails_on_gpu_mark(metafunc):
      """
      returns Mark or None
      """
      for pytestmark in getattr(metafunc.function, "pytestmark", []):
          if pytestmark.name == "fails_on_gpu":
              return pytestmark
      return None
  
imports: import catboost.utils
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: get_fails_on_gpu_mark(metafunc) and returns: None, pytestmark