code: def test_predict_error_works(y_target, y_pred, case, expected):
      result = predict_error(y_target, y_pred, case)
      if result is not None:
          assert not pd.testing.assert_frame_equal(result, expected)
      else:
          assert result == expected
  
imports: import pytest
  import numpy
  import pandas
  from shapash.utils.model import predict_error
label_desc: Use image node_id 1 for calling a global function with example usage: test_predict_error_works(y_target, y_pred, case, expected) without return types