code: def test_raises_warning_if_no_feature_selected(load_diabetes_dataset):
      X, y = load_diabetes_dataset
      sel = SelectBySingleFeaturePerformance(
          estimator=DecisionTreeRegressor(random_state=0),
          scoring="neg_mean_squared_error",
          cv=2,
          threshold=10,
      )
      with pytest.warns(UserWarning):
          warnings.warn(sel.fit(X, y), UserWarning)
  
file_path: feature_engine/tests/test_selection/test_single_feature_performance_selection.py
imports: import warnings
  import numpy
  import pandas
  import pytest
  from sklearn.ensemble import RandomForestClassifier
  from sklearn.linear_model import LinearRegression
  from sklearn.tree import DecisionTreeRegressor
  from feature_engine.selection import SelectBySingleFeaturePerformance
label_desc: Use image node_id 4 for calling a global function with example usage: test_raises_warning_if_no_feature_selected(load_diabetes_dataset) without return types