code: def test_random_train_test_split(test_percentage):
      data = fetch_movielens()["train"]
  
      train, test = random_train_test_split(
          data, test_percentage=test_percentage
      )
  
      assert test.nnz / float(data.nnz) == test_percentage
      _assert_disjoint(train, test)
  
imports: import pytest
  from lightfm.cross_validation import random_train_test_split
  from lightfm.datasets import fetch_movielens
label_desc: Use image node_id 2 for calling a global function with example usage: test_random_train_test_split(test_percentage) without return types