code: def test_fourier_k_larger_than_sp():
      """Tests exception raised when fourier_terms_list elements larger than sp_list."""
      with pytest.raises(ValueError) as ex:
          FourierFeatures(sp_list=[2], fourier_terms_list=[3])
          assert ex.value == (
              "In FourierFeatures the number of each element of fourier_terms_list"
              "needs to be lower from the corresponding element of the sp_list"
          )
  
file_path: sktime/sktime/transformations/series/tests/test_fourier.py
imports: from copy import deepcopy
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal, assert_index_equal
  from sktime.datasets import load_airline
  from sktime.transformations.series.fourier import FourierFeatures
label_desc: Use image node_id 2 for calling a global function with example usage: test_fourier_k_larger_than_sp() without return types