class_docstr: ClassificationReport visualizer tests
class_docstr_tok: ["ClassificationReport","visualizer","tests"]
docstr: Ensure that bad support arguments raise exception
docstr_tok: ["Ensure","that","bad","support","arguments","raise","exception"]
code: def test_invalid_support(self):
      """
      Ensure that bad support arguments raise exception
      """
      with pytest.raises(
          YellowbrickValueError,
          match="'foo' is an invalid argument for support, use None, "
          "True, False, 'percent', or 'count'",
      ):
          ClassificationReport(LinearSVC(), support="foo")
  
imports: import sys
  import pytest
  import yellowbrick
  import matplotlib.pyplot
  from yellowbrick.datasets import load_occupancy
  from yellowbrick.classifier.classification_report import *
  from pytest import approx
  from unittest.mock import patch
  from tests.base import VisualTestCase
  from sklearn.svm import LinearSVC, SVC
  from sklearn.naive_bayes import GaussianNB
  from sklearn.tree import DecisionTreeClassifier
  from sklearn.datasets import make_classification
  from sklearn.model_selection import train_test_split
  from sklearn.linear_model import LassoCV, LogisticRegression
  from sklearn.pipeline import Pipeline
  from sklearn.preprocessing import MinMaxScaler
label_desc: Use image node_id 9 for calling the TestClassificationReport obj's underlying member method code with example usage: obj.test_invalid_support() without return types