code: def skip(msg=None):
      """Decorator factory - mark a test function for skipping from test suite.
  
      Parameters
      ----------
        msg : string
          Optional message to be added.
  
      Returns
      -------
         decorator : function
           Decorator, which, when applied to a function, causes SkipTest
           to be raised, with the optional message added.
      """
      if msg and not isinstance(msg, str):
          raise ValueError(
              "invalid object passed to `@skip` decorator, did you "
              "meant `@skip()` with brackets ?"
          )
      return skipif(True, msg)
  
file_path: catboost/contrib/python/ipython/py3/IPython/testing/decorators.py
imports: import os
  import shutil
  import sys
  import tempfile
  import unittest
  from importlib import import_module
  from decorator import decorator
  from .ipunittest import ipdoctest, ipdocstring
label_desc: Use image node_id 3 for calling a global function with example usage: skip(msg) and returns: skipif