code: def test_unrobust_gap_features(dummy_data):
      feats = MultipleFeatureDescriptors(
          functions=[np.min, np.max],
          series_names="EDA",
          windows="10s",
          strides="5s",
      )
      feature_collection = FeatureCollection(feats)
  
      eda_data = dummy_data["EDA"].dropna()
      eda_data[2 : 1 + 25 * 4] = None  # Leave gap of 25 s
      # -> so there are empty windows -> will rase a ValueError
      eda_data = eda_data.dropna()
      assert not eda_data.isna().any()
      assert (
          eda_data.index[1:] - eda_data.index[:-1]
      ).max() == pd.Timedelta("25 s")
  
      with pytest.raises(Exception):
          feature_collection.calculate(
              eda_data, approve_sparsity=True, n_jobs=0
          )
  
file_path: tsflex/tests/test_features_utils.py
imports: import numpy
  import pandas
  import pytest
  from tsflex.features import FeatureCollection, FuncWrapper, MultipleFeatureDescriptors
  from tsflex.features.utils import make_robust
  from .utils import dummy_data
label_desc: Use image node_id 1 for calling a global function with example usage: test_unrobust_gap_features(dummy_data) without return types