code: def test_tips():
      def a():
          """a simple tip"""
  
      interactor = Interactor()
  
      group = interactor(a, runOptions=RunOptions.ON_ACTION)
      assert (
          group.opts["tip"] == a.__doc__
          and group.type() == "_actiongroup"
      )
  
      params = interactor(
          a, runOptions=RunOptions.ON_ACTION, nest=False
      )
      assert len(params) == 1 and params[0].opts["tip"] == a.__doc__
  
      def a2(x=5):
          """
          A long docstring with a newline
          followed by more text won't result in a tooltip
          """
  
      param = interactor(a2)
      assert "tip" not in param.opts
  
imports: from functools import wraps
  import numpy
  import pyqtgraph
  import pytest
  from pyqtgraph import functions
  from pyqtgraph.parametertree import InteractiveFunction, Interactor, interact, RunOptions
  from pyqtgraph.parametertree import Parameter
  from pyqtgraph.parametertree.Parameter import PARAM_TYPES
  from pyqtgraph.parametertree.parameterTypes import GroupParameter
  from pyqtgraph.Qt import QtGui
label_desc: Use image node_id 7 for calling a global function with example usage: test_tips() without return types