code: def skip(msg="", **kwargs):
      """
      Skip an executing test with the given message.
  
      This function should be called only during testing (setup, call or teardown) or
      during collection by using the ``allow_module_level`` flag.  This function can
      be called in doctests as well.
  
      :kwarg bool allow_module_level: allows this function to be called at
          module level, skipping the rest of the module. Default to False.
  
      .. note::
          It is better to use the :ref:`pytest.mark.skipif ref` marker when possible to declare a test to be
          skipped under certain conditions like mismatching platforms or
          dependencies.
          Similarly, use the ``# doctest: +SKIP`` directive (see `doctest.SKIP
          <https://docs.python.org/3/library/doctest.html#doctest.SKIP>`_)
          to skip a doctest statically.
      """
      __tracebackhide__ = True
      allow_module_level = kwargs.pop("allow_module_level", False)
      if kwargs:
          raise TypeError(
              "unexpected keyword arguments: {}".format(sorted(kwargs))
          )
      raise Skipped(msg=msg, allow_module_level=allow_module_level)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  from packaging.version import Version
label_desc: Use image node_id 2 for calling a global function with example usage: skip(msg) without return types