code: def test_precict(self):
      diabetes = datasets.load_diabetes()
      estimator = base.StatsModelsRegressor(sm.OLS)
      with pytest.raises(
          ValueError, match="StatsModelsRegressor is not fitted to data"
      ):
          estimator.predict(diabetes.data)
  
file_path: pandas-ml/pandas_ml/smaccessors/test/test_base.py
imports: import pytest
  import numpy
  import sklearn.datasets
  import statsmodels.api
  import pandas_ml.smaccessors.base
  import pandas_ml.util.testing
label_desc: Use image node_id 3 for calling the TestBaseRegressor obj's underlying member method code with example usage: obj.test_precict() without return types