class_docstr: Test the object Wrapper mixin utility
class_docstr_tok: ["Test","the","object","Wrapper","mixin","utility"]
docstr: Attribute errors should return a YellowbrickAttributeError
docstr_tok: ["Attribute","errors","should","return","a","YellowbrickAttributeError"]
code: def test_attribute_error(self):
      """
      Attribute errors should return a YellowbrickAttributeError
      """
      obj = WrappedEstimator()
      pat = r"neither visualizer 'WrappedEstimator' nor wrapped estimator 'MagicMock' have attribute 'notaproperty'"
      with pytest.raises(YellowbrickAttributeError, match=pat):
          obj.notaproperty
  
imports: import pytest
  from unittest import mock
  from yellowbrick.base import Visualizer
  from yellowbrick.utils.wrapper import *
  from yellowbrick.exceptions import YellowbrickAttributeError, YellowbrickTypeError
  from sklearn.naive_bayes import MultinomialNB
  from sklearn.naive_bayes import GaussianNB
label_desc: Use image node_id 6 for calling the TestWrapper obj's underlying member method code with example usage: obj.test_attribute_error() without return types