code: def test_rescale_fit(small_data, std_data):
      small_mod = ZeroMean(small_data, volatility=GARCH(), rescale=True)
      small_res = small_mod.fit(disp="off")
      direct_mod = ZeroMean(10 * small_data, volatility=GARCH())
      direct_res = direct_mod.fit(disp="off")
      assert_allclose(small_res.loglikelihood, direct_res.loglikelihood)
      small_fcast = small_res.forecast(start=0)
      direct_fcast = direct_res.forecast(start=0)
      assert_allclose(small_fcast.variance, direct_fcast.variance)
  
file_path: arch/arch/tests/univariate/test_rescale.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pandas
  import pytest
  from arch.univariate import GARCH, Normal, ZeroMean
label_desc: Use image node_id 6 for calling a global function with example usage: test_rescale_fit(small_data, std_data) without return types