code: def test_temp_raises_on_floats():
      """[Base] TemporalIndex: check raises error on floats"""
      for attr in ["burn_in", "step_size", "window", "lag"]:
          with np.testing.assert_raises(ValueError):
              TemporalIndex(**{attr: 0.4, "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 18 for calling a global function with example usage: test_temp_raises_on_floats() without return types