code: def test_clustered_subset_partition():
      """[Base] ClusteredSubsetIndex: test partition indexing on tuples."""
      parts = list()
      for part in ClusteredSubsetIndex(cl, X=X).partition():
          parts.append(part)
  
      assert parts == [[(0, 2)], [(2, 5)]]
  
imports: import os
  import subprocess
  import numpy
  from mlens import config
  from mlens.utils import IdTrain
  from mlens.index import FoldIndex, BlendIndex, SubsetIndex, TemporalIndex, ClusteredSubsetIndex, FullIndex
  from mlens.index.base import partition, prune_train
label_desc: Use image node_id 35 for calling a global function with example usage: test_clustered_subset_partition() without return types