class_docstr: Test DecisionBoundariesVisualizer
class_docstr_tok: ["Test","DecisionBoundariesVisualizer"]
docstr: Edge case that more class labels are defined than in datatset
docstr_tok: ["Edge","case","that","more","class","labels","are","defined","than","in","datatset"]
code: def test_fit_class_labels_class_names_edge_case(self):
      """
      Edge case that more class labels are defined than in datatset
      """
      model = neighbors.KNeighborsClassifier(3)
      viz = DecisionBoundariesVisualizer(
          model, classes=["one", "two", "three", "four", "five"]
      )
  
      with pytest.raises(YellowbrickTypeError):
          viz.fit(X_two_cols, y=y)
  
imports: import sys
  import pytest
  import numpy
  from unittest import mock
  from tests.base import VisualTestCase
  from yellowbrick.contrib.classifier import *
  from yellowbrick.exceptions import YellowbrickTypeError
  from yellowbrick.exceptions import YellowbrickValueError
  from sklearn import datasets
  from sklearn import neighbors
  from sklearn import naive_bayes
label_desc: Use image node_id 7 for calling the TestDecisionBoundariesVisualizer obj's underlying member method code with example usage: obj.test_fit_class_labels_class_names_edge_case() without return types