code: def test_plot_residuals_bad_input_value_error(
      bad_y_pairs, ploomber_value_error_message
  ):
      y_true, y_pred = bad_y_pairs
  
      y_true = np.array(y_true)
      y_pred = np.array(y_pred)
  
      with pytest.raises(
          ValueError, match=ploomber_value_error_message
      ) as e:
          plot.residuals(y_true, y_pred)
  
      assert "parameters should have same shape" in str(e.value)
  
file_path: sklearn-evaluation/tests/test_plot_bad_input.py
imports: import pytest
  import numpy
  from sklearn_evaluation import plot
label_desc: Use image node_id 10 for calling a global function with example usage: test_plot_residuals_bad_input_value_error(bad_y_pairs, ploomber_value_error_message) without return types