code: def test_input_shap_values_type(unsupported_inputs):
      """Check that a TypeError is raised when shap_values is not a valid input type."""
      emsg = (
          "The shap_values argument must be an Explanation object, Cohorts "
          "object, or dictionary of Explanation objects!"
      )
      with pytest.raises(TypeError, match=emsg):
          shap.plots.bar(unsupported_inputs, show=False)
  
file_path: shap/tests/plots/test_bar.py
imports: import matplotlib.pyplot
  import numpy
  import pytest
  import shap
  from shap.utils._exceptions import DimensionError
label_desc: Use image node_id 1 for calling a global function with example usage: test_input_shap_values_type(unsupported_inputs) without return types