code: def test_fourier_redundant_terms_dropped():
      """Tests redundant sp and k pairs are dropped if their equivalents exist."""
      transformer = FourierFeatures(
          sp_list=[12, 9, 3], fourier_terms_list=[4, 3, 1]
      )
      transformer.fit(Y)
      assert transformer.sp_k_pairs_list_ == [
          (12, 1),
          (12, 2),
          (12, 3),
          (12, 4),
          (9, 1),
          (9, 2),
      ]
  
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 3 for calling a global function with example usage: test_fourier_redundant_terms_dropped() without return types