code: def test_method(
      self, constructor, dtype, window_kwargs, function, parallel, cols
  ):
      with warnings.catch_warnings(record=True):
          self.window.apply(
              function,
              raw=True,
              engine="numba",
              engine_kwargs={"parallel": parallel},
          )
  
imports: import warnings
  import numpy
  import pandas
  from .pandas_vb_common import setup
label_desc: Use image node_id 2 for calling the NumbaEngineApply obj's underlying member method code with example usage: obj.test_method(constructor, dtype, window_kwargs, function, parallel, cols) without return types