class_docstr: Test the CVScores visualizer
docstr: Test that CVScores passes cv param to internal sklearn classifier with CV
docstr_tok: ["Test","that","CVScores","passes","cv","param","to","internal","sklearn","classifier","with","CV"]
code: def test_classifier_with_cv(self):
      """
      Test that CVScores passes cv param to internal sklearn classifier with CV
      """
      X, y = self.classification
  
      cv = StratifiedKFold(5, shuffle=True, random_state=288)
      oz_external_cv = CVScores(LogisticRegressionCV(), cv=cv)
      oz_internal_cv = CVScores(LogisticRegressionCV(cv=cv))
      oz_external_cv.fit(X, y)
      oz_internal_cv.fit(X, y)
  
      npt.assert_array_almost_equal(
          oz_external_cv.cv_scores_,
          oz_internal_cv.cv_scores_,
          decimal=1,
      )
  
imports: import pytest
  import numpy.testing
  from unittest.mock import patch
  from tests.base import VisualTestCase
  from sklearn.svm import SVC
  from sklearn.naive_bayes import BernoulliNB
  from sklearn.tree import DecisionTreeRegressor
  from sklearn.preprocessing import OneHotEncoder, MinMaxScaler
  from sklearn.neighbors import KNeighborsClassifier
  from sklearn.linear_model import RidgeCV, LogisticRegressionCV
  from sklearn.model_selection import ShuffleSplit, StratifiedKFold
  from sklearn.pipeline import Pipeline
  from yellowbrick.datasets import load_mushroom
  from yellowbrick.model_selection.cross_validation import *
label_desc: Use image node_id 3 for calling the TestCrossValidation obj's underlying member method code with example usage: obj.test_classifier_with_cv() without return types