code: def test_no_method_raises():
      clf = ParallelPostFit(LinearRegression())
      X, y = make_classification(chunks=50)
      clf.fit(X, y)
  
      with pytest.raises(AttributeError) as m:
          clf.predict_proba(X)
  
      assert m.match(
          "The wrapped estimator (.|\n)* 'predict_proba' method."
      )
  
imports: import dask
  import dask.array
  import dask.dataframe
  import numpy
  import pandas
  import pytest
  import sklearn.datasets
  from scipy.sparse import csr_matrix
  from sklearn.decomposition import PCA
  from sklearn.ensemble import GradientBoostingClassifier
  from sklearn.linear_model import LinearRegression, LogisticRegression, SGDClassifier
  from sklearn.naive_bayes import CategoricalNB
  from sklearn.preprocessing import OneHotEncoder
  from dask_ml.datasets import make_classification
  from dask_ml.utils import assert_eq_ar, assert_estimator_equal
  from dask_ml.wrappers import ParallelPostFit
label_desc: Use image node_id 2 for calling a global function with example usage: test_no_method_raises() without return types