code: def test_rus_boost_classifier_base_estimator():
      """Check that we raise a FutureWarning when accessing `base_estimator_`."""
      X, y = load_iris(return_X_y=True)
      estimator = RUSBoostClassifier().fit(X, y)
      with pytest.warns(
          FutureWarning, match="`base_estimator_` was deprecated"
      ):
          estimator.base_estimator_
  
file_path: imbalanced-learn/imblearn/ensemble/tests/test_weight_boosting.py
imports: import numpy
  import pytest
  import sklearn
  from sklearn.datasets import load_iris, make_classification
  from sklearn.model_selection import train_test_split
  from sklearn.tree import DecisionTreeClassifier
  from sklearn.utils._testing import assert_array_equal
  from sklearn.utils.fixes import parse_version
  from imblearn.ensemble import RUSBoostClassifier
label_desc: Use image node_id 4 for calling a global function with example usage: test_rus_boost_classifier_base_estimator() without return types