code: def test_error_function_simple_feature_descriptor():
      invalid_func = []  # Something that is not callable
  
      with pytest.raises(TypeError):
          _ = FeatureDescriptor(
              function=invalid_func,
              series_name="EDA",
              window="5s",
              stride="2.5s",
          )
  
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 9 for calling a global function with example usage: test_error_function_simple_feature_descriptor() without return types