code: def test_train_val_split_incorrect_size(
      model_data: RasaModelData, size: int
  ):
      with pytest.raises(ValueError):
          model_data.split(size, 42)
  
file_path: rasa/tests/utils/tensorflow/test_model_data.py
imports: import copy
  import pytest
  import numpy
  from rasa.utils.tensorflow.model_data import RasaModelData
label_desc: Use image node_id 5 for calling a global function with example usage: test_train_val_split_incorrect_size(model_data, size) without return types