code: def test_target_type_validate_invalid(val):
      with pytest.raises(
          YellowbrickValueError, match="unknown target color type"
      ):
          TargetType.validate(val)
  
file_path: yellowbrick/tests/test_utils/test_target.py
imports: import pytest
  import numpy
  from yellowbrick.utils.target import *
  from yellowbrick.exceptions import YellowbrickValueError
  from sklearn.datasets import make_regression, make_classification
label_desc: Use image node_id 5 for calling a global function with example usage: test_target_type_validate_invalid(val) without return types