code: def test_plot_learning_curve_bad_input_value_error(
      bad_train_sizes, ploomber_value_error_message
  ):
      from examples.learning_curve import train_scores, test_scores
  
      with pytest.raises(
          ValueError, match=ploomber_value_error_message
      ):
          plot.learning_curve(
              train_scores, test_scores, bad_train_sizes
          )
  
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 7 for calling a global function with example usage: test_plot_learning_curve_bad_input_value_error(bad_train_sizes, ploomber_value_error_message) without return types