code: def test_split_invalid_proportion(train_size):
      X = cudf.DataFrame({"x": range(10)})
      y = cudf.Series([0] * 10)
  
      with pytest.raises(ValueError):
          train_test_split(X, y, train_size=train_size)
  
imports: from cuml.internals.safe_imports import gpu_only_import_from
  from cuml.datasets import make_classification
  from cuml.model_selection import train_test_split
  import pytest
  from cuml.internals.safe_imports import cpu_only_import
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 5 for calling a global function with example usage: test_split_invalid_proportion(train_size) without return types