code: def test_fit_attributes(df_duplicate_features):
      transformer = DropDuplicateFeatures()
      transformer.fit(df_duplicate_features)
  
      assert transformer.features_to_drop_ == {
          "dob",
          "dob3",
          "City2",
          "Age2",
      }
      assert transformer.duplicated_feature_sets_ == [
          {"dob", "dob2", "dob3"},
          {"City", "City2"},
          {"Age", "Age2"},
      ]
  
file_path: feature_engine/tests/test_selection/test_drop_duplicate_features.py
imports: import numpy
  import pandas
  import pytest
  from feature_engine.selection import DropDuplicateFeatures
label_desc: Use image node_id 4 for calling a global function with example usage: test_fit_attributes(df_duplicate_features) without return types