class_docstr: Test ROCAUC visualizer
class_docstr_tok: ["Test","ROCAUC","visualizer"]
docstr: Test binary decision_function model raises error when the binary param is False
docstr_tok: ["Test","binary","decision_function","model","raises","error","when","the","binary","param","is","False"]
code: def test_binary_false_decision_function_error(self):
      """
      Test binary decision_function model raises error when the binary param is False
      """
      # Create and fit the visualizer
      visualizer = ROCAUC(LinearSVC(random_state=42), binary=False)
      visualizer.fit(self.binary.X.train, self.binary.y.train)
  
      # Ensure score raises error
      # (only binary curve defined for binary decisions with decision_function clf)
      with pytest.raises(ModelError):
          visualizer.score(self.binary.X.test, self.binary.y.test)
  
imports: import pytest
  import numpy
  import numpy.testing
  from unittest.mock import patch
  from tests.base import VisualTestCase
  from yellowbrick.classifier.rocauc import *
  from yellowbrick.exceptions import ModelError
  from yellowbrick.datasets import load_occupancy
  from sklearn.svm import LinearSVC, SVC
  from sklearn.naive_bayes import GaussianNB
  from sklearn.linear_model import LogisticRegression
  from sklearn.base import BaseEstimator, ClassifierMixin
  from sklearn.model_selection import train_test_split
  from sklearn.ensemble import RandomForestClassifier, AdaBoostClassifier
  from sklearn.preprocessing import MinMaxScaler
  from sklearn.pipeline import Pipeline
label_desc: Use image node_id 19 for calling the TestROCAUC obj's underlying member method code with example usage: obj.test_binary_false_decision_function_error() without return types