class_docstr: Third party ContribEstimator wrapper
class_docstr_tok: ["Third","party","ContribEstimator","wrapper"]
docstr: Check that the contrib wrapper passes through correctly
docstr_tok: ["Check","that","the","contrib","wrapper","passes","through","correctly"]
code: def test_wrapped_estimator(self):
      """
      Check that the contrib wrapper passes through correctly
      """
      tpe = ContribEstimator(ThirdPartyEstimator(foo="bar"), "foo")
      assert tpe.fit([1, 2, 3]) == 42
      assert tpe._estimator_type == "foo"
  
imports: import pytest
  from yellowbrick.contrib.wrapper import *
  from yellowbrick.regressor import residuals_plot
  from yellowbrick.classifier import classification_report
  from yellowbrick.exceptions import YellowbrickAttributeError
  from yellowbrick.utils.helpers import get_model_name, is_fitted
  from yellowbrick.utils.types import is_estimator, is_probabilistic
  from yellowbrick.utils.types import is_classifier, is_clusterer, is_regressor
  from sklearn.base import is_regressor
  from sklearn.base import is_classifier
  from sklearn.model_selection import train_test_split
  from sklearn.datasets import make_classification, make_regression
  from sklearn.base import is_outlier_detector
label_desc: Use image node_id 1 for calling the TestContribWrapper obj's underlying member method code with example usage: obj.test_wrapped_estimator() without return types