code: def test_use_global_config():
      def f(x):
          return np.mean(x) + 2
  
      s = Series(range(10))
      with option_context("compute.use_numba", True):
          result = s.rolling(2).apply(f, engine=None, raw=True)
      expected = s.rolling(2).apply(f, engine="numba", raw=True)
      tm.assert_series_equal(expected, result)
  
imports: import numpy
  import pytest
  from pandas.errors import NumbaUtilError
  import pandas.util._test_decorators
  from pandas import DataFrame, Series, option_context, to_datetime
  import pandas._testing
label_desc: Use image node_id 3 for calling a global function with example usage: test_use_global_config() and returns: unknown