code: def test_temp_raises_on_over_lag():
      """[Base] TemporalIndex: check raises error step_size > n_samples"""
      with np.testing.assert_raises(ValueError):
          TemporalIndex(burn_in=2, lag=3, X=X)
  
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 21 for calling a global function with example usage: test_temp_raises_on_over_lag() without return types