code: def test_confusion_matrix_bad_input_value_error(
      y, bad_y_true_value, ploomber_value_error_message
  ):
      _, y_pred = y
      with pytest.raises(
          ValueError, match=ploomber_value_error_message
      ):
          plot.ConfusionMatrix.from_raw_data(bad_y_true_value, y_pred)
  
file_path: sklearn-evaluation/tests/test_confusion_matrix.py
imports: import pytest
  import numpy
  from sklearn_evaluation import plot, __version__
  import warnings
label_desc: Use image node_id 5 for calling a global function with example usage: test_confusion_matrix_bad_input_value_error(y, bad_y_true_value, ploomber_value_error_message) without return types