code: def test_error_numpy_array_different_length_single_input_series_processor(
      dummy_data,
  ):
      def absx2(sig):
          return np.abs(sig.values * 2)[:-2]
  
      absx2_tmp = absx2(dummy_data["TMP"])
      assert isinstance(absx2_tmp, np.ndarray)
      assert len(absx2_tmp) == len(dummy_data) - 2
  
      series_processor = SeriesProcessor(
          series_names=["EDA"],
          function=absx2,
      )
      series_dict = dataframe_to_series_dict(dummy_data)
  
      with pytest.raises(Exception):
          _ = series_processor(series_dict)
  
imports: from typing import List
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_index_equal, assert_series_equal
  from tsflex.processing import SeriesProcessor, dataframe_func
  from .utils import dataframe_to_series_dict, dummy_data, series_to_series_dict
label_desc: Use image node_id 23 for calling a global function with example usage: test_error_numpy_array_different_length_single_input_series_processor(dummy_data) and returns: np