code: def test_prune_train():
      """[Base] indexers: test _prune_train."""
      assert prune_train(0, 0, 4, 7) == ((4, 7),)
      assert prune_train(4, 7, 9, 9) == ((4, 7),)
      assert prune_train(4, 7, 10, 12) == ((4, 7), (10, 12))
  
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 46 for calling a global function with example usage: test_prune_train() without return types