code: def not_test(func):
      """
      Mark any function as not a test for py.test
      :param func:
      :return:
      """
  
      @functools.wraps(func)
      def wrapper(*args, **kwds):
          return func(*args, **kwds)
  
      setattr(wrapper, "__test__", False)
      return wrapper
  
imports: import errno
  import functools
  import json
  import os
  import sys
  import threading
  import six
label_desc: Use image node_id 12 for calling a global function with example usage: not_test(func) and returns: wrapper, func