code: def test_savitzky_golay_fft():
      y = np.random.normal(size=100)
  
      for width in [3, 5]:
          for order in range(width - 1):
              with pytest.warns(AstroMLDeprecationWarning):
                  f1 = savitzky_golay(y, width, order, use_fft=False)
                  f2 = savitzky_golay(y, width, order, use_fft=True)
              assert_allclose(f1, f2)
  
file_path: astroML/astroML/tests/test_filters.py
imports: import pytest
  import numpy
  from numpy.testing import assert_allclose
  from astroML.filters import savitzky_golay, wiener_filter
  from astroML.utils.exceptions import AstroMLDeprecationWarning
label_desc: Use image node_id 2 for calling a global function with example usage: test_savitzky_golay_fft() without return types