code: def test_feature_perturbation_sets_correct_masker(
      feature_pertubation, masker
  ):
      Ridge = pytest.importorskip("sklearn.linear_model").Ridge
  
      # train linear model
      X, y = shap.datasets.california(n_points=100)
      model = Ridge(0.1)
      model.fit(X, y)
  
      explainer = shap.explainers.LinearExplainer(
          model, X, feature_perturbation=feature_pertubation
      )
      assert isinstance(explainer.masker, masker)
  
file_path: shap/tests/explainers/test_linear.py
imports: import numpy
  import pytest
  import scipy.special
  import shap
label_desc: Use image node_id 14 for calling a global function with example usage: test_feature_perturbation_sets_correct_masker(feature_pertubation, masker) without return types