code: def test_error_optional_window_but_pass_stride_feature_descriptor():
      with pytest.raises(AssertionError):
          _ = FeatureDescriptor(
              function=np.sum,
              series_name="EDA",
              stride="3s",
              # passes no window
          )
  
file_path: tsflex/tests/test_features_feature_descriptor.py
imports: import numpy
  import pandas
  import pytest
  from tsflex.features import FeatureDescriptor, FuncWrapper, MultipleFeatureDescriptors
  from tsflex.utils.data import flatten
label_desc: Use image node_id 12 for calling a global function with example usage: test_error_optional_window_but_pass_stride_feature_descriptor() without return types