docstr: Unit test check y 4
code: def test_check_y_4(self):
      """
      Unit test check y 4
      """
      y_pred = [0, 1]
      with self.assertRaises(ValueError):
          check_y(y=y_pred)
  
imports: import unittest
  import pytest
  import pandas
  import numpy
  import category_encoders
  from shapash.utils.check import check_preprocessing, check_model, check_label_dict, check_mask_params, check_y, check_contribution_object, check_preprocessing_options, check_postprocessing, check_consistency_model_features, check_consistency_model_label, check_additional_data
  from sklearn.compose import ColumnTransformer
  import sklearn.preprocessing
  import types
  import sklearn.ensemble
  import sklearn.svm
  import sklearn.linear_model
  import xgboost
  import lightgbm
  import catboost
label_desc: Use image node_id 13 for calling the TestCheck obj's underlying member method code with example usage: obj.test_check_y_4() without return types