code: def test_ncr_deprecate_kind_sel(data, kind_sel):
      X, y = data
  
      with pytest.warns(
          FutureWarning, match="`kind_sel` is deprecated"
      ):
          NeighbourhoodCleaningRule(kind_sel=kind_sel).fit_resample(
              X, y
          )
  
file_path: imbalanced-learn/imblearn/under_sampling/_prototype_selection/tests/test_neighbourhood_cleaning_rule.py
imports: from collections import Counter
  import numpy
  import pytest
  from sklearn.datasets import make_classification
  from sklearn.utils._testing import assert_array_equal
  from imblearn.under_sampling import EditedNearestNeighbours, NeighbourhoodCleaningRule
label_desc: Use image node_id 4 for calling a global function with example usage: test_ncr_deprecate_kind_sel(data, kind_sel) without return types