code: def test_check_training_data_multi_label_sample_weights_invalid_size(
      self,
  ):
      ds_train = random_sklearn_dataset(8, multi_label=True)
  
      weights = np.random.randn(7)
      weights = weights - weights.min() + 1e-8
  
      with self.assertRaisesRegex(
          ValueError,
          "Training data and weights must have the same size",
      ):
          check_training_data(ds_train, None, weights=weights)
  
file_path: small-text/tests/unit/small_text/utils/test_data.py
imports: import unittest
  import numpy
  from scipy.sparse import csr_matrix
  from small_text.base import LABEL_UNLABELED
  from small_text.utils.data import check_training_data, list_length
  from tests.utils.datasets import random_sklearn_dataset
label_desc: Use image node_id 11 for calling the DataUtilsTest obj's underlying member method code with example usage: obj.test_check_training_data_multi_label_sample_weights_invalid_size() without return types