code: def test_plot_scores_distribution_bad_input_value_error(
      bad_y_scores, ploomber_value_error_message
  ):
      with pytest.raises(
          ValueError, match=ploomber_value_error_message
      ):
          plot.scores_distribution(bad_y_scores, n_bins=10)
      assert "y should be a 1d array, got an array of shape"
  
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 11 for calling a global function with example usage: test_plot_scores_distribution_bad_input_value_error(bad_y_scores, ploomber_value_error_message) without return types