code: def test_partition():
      """[Base] indexers: test _partition."""
      np.testing.assert_array_equal(
          np.array([4, 3, 3]), partition(10, 3)
      )
  
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 47 for calling a global function with example usage: test_partition() without return types