docstr: Explain data should be a dict
docstr_tok: ["Explain","data","should","be","a","dict"]
code: def test_get_local_contributions_2(self):
      """
      Explain data should be a dict
      """
      explain_data = [np.array([0])]
      with self.assertRaises(AssertionError):
          res = self.test_backend.get_local_contributions(
              pd.DataFrame([0]), explain_data
          )
  
imports: import unittest
  from unittest.mock import patch
  import types
  import numpy
  import pandas
  import category_encoders
  from sklearn.ensemble import RandomForestRegressor, RandomForestClassifier
  from pandas.testing import assert_frame_equal, assert_series_equal
  from shapash.backend.base_backend import BaseBackend, _needs_preprocessing
  from shapash.explainer.smart_state import SmartState
label_desc: Use image node_id 6 for calling the TestBaseBackend obj's underlying member method code with example usage: obj.test_get_local_contributions_2() without return types