code: def test_rm_without_clear_cache():
      class RetainVal:
          a = 1
  
      host = Parameter.create(name="host", type="group")
      interactor = Interactor(parent=host, nest=False)
  
      @interactor.decorate(a=9)
      def inner(a=4):
          RetainVal.a = a
  
      inner.removeParameters(clearCache=False)
      host["a"] = 6
      assert RetainVal.a == 1
  
      inner()
      assert RetainVal.a == 9
  
      inner.removeParameters(clearCache=True)
      inner()
      assert RetainVal.a == 4
  
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 13 for calling a global function with example usage: test_rm_without_clear_cache() without return types