code: def test_line_series_bad_inputs(args, kwargs, error):
      with pytest.raises(error) as e_info:
          line_series(*args, **kwargs)
          print(e_info.value)
  
file_path: wandb/tests/pytest_tests/unit_tests/test_plot.py
imports: import pytest
  from sklearn.naive_bayes import MultinomialNB
  from wandb.plot import confusion_matrix, line_series, pr_curve, roc_curve
label_desc: Use image node_id 8 for calling a global function with example usage: test_line_series_bad_inputs(args, kwargs, error) without return types