code: def test_inconsistent_sample_weigth(regression_data):
      X, y = regression_data
      sample_weight = np.random.rand(X.shape[0] - 10)
  
      with pytest.raises(ValueError):
          measure_interactions(X, y, sample_weight=sample_weight)
  
imports: import pytest
  import numpy
  from math import isclose
  from sklearn.linear_model import LinearRegression, LogisticRegression
  from sklearn.dummy import DummyClassifier
  from ..tutils import synthetic_regression, synthetic_classification, synthetic_multiclass
  from interpret.utils import measure_interactions
label_desc: Use image node_id 12 for calling a global function with example usage: test_inconsistent_sample_weigth(regression_data) without return types