class_docstr: Tests for the high-level API of Yellowbrick and base classes
class_docstr_tok: ["Tests","for","the","high-level","API","of","Yellowbrick","and","base","classes"]
docstr: Test that poof issues a deprecation warning
code: def test_poof_deprecated(self):
      """
      Test that poof issues a deprecation warning
      """
  
      class CustomVisualizer(Visualizer):
          pass
  
      viz = CustomVisualizer()
      viz.show = MagicMock()
  
      with pytest.warns(DeprecationWarning, match="please use show"):
          viz.poof()
  
      viz.show.assert_called_once()
  
imports: import pytest
  import matplotlib.pyplot
  from yellowbrick.base import *
  from yellowbrick.base import VisualizerGrid
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.exceptions import YellowbrickWarning
  from yellowbrick.exceptions import YellowbrickValueError
  from unittest.mock import patch
  from unittest.mock import MagicMock
  from tests.rand import RandomVisualizer
  from tests.base import IS_WINDOWS_OR_CONDA, VisualTestCase
  from sklearn.svm import LinearSVC
  from sklearn.datasets import make_classification
label_desc: Use image node_id 10 for calling the TestBaseClasses obj's underlying member method code with example usage: obj.test_poof_deprecated() without return types