code: def test_get_feature_index(fx, idx):
      feature_names = ["a", "b", "c"]
      assert _get_feature_index(fx, feature_names) == idx
  
file_path: scikit-learn/sklearn/inspection/tests/test_pd_utils.py
imports: import numpy
  import pytest
  from sklearn.inspection._pd_utils import _check_feature_names, _get_feature_index
  from sklearn.utils._testing import _convert_container
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_feature_index(fx, idx) without return types