class_docstr: Test the ClassificationScoreVisualizer base functionality
docstr: Assert warning is issued and encoder is used with multiple decoding params
docstr_tok: ["Assert","warning","is","issued","and","encoder","is","used","with","multiple","decoding","params"]
code: def test_decode_labels_warning(self):
      """
      Assert warning is issued and encoder is used with multiple decoding params
      """
      with pytest.warns(
          YellowbrickWarning, match="both classes and encoder specified"
      ):
          oz = ClassificationScoreVisualizer(
              GaussianNB(),
              classes=["a", "b", "c"],
              encoder={0: "foo", 1: "bar", 2: "zap"},
          )
          encoded = oz._decode_labels([0, 1, 2])
          npt.assert_array_equal(encoded, ["foo", "bar", "zap"])
  
imports: import pytest
  import numpy
  import numpy.testing
  from yellowbrick.classifier.base import *
  from sklearn.naive_bayes import GaussianNB
  from sklearn.preprocessing import LabelEncoder
  from sklearn.linear_model import LinearRegression
  from .conftest import assert_fitted, assert_not_fitted
  from yellowbrick.exceptions import YellowbrickTypeError
label_desc: Use image node_id 7 for calling the TestClassificationScoreVisualizer obj's underlying member method code with example usage: obj.test_decode_labels_warning() without return types