code: def test_parse_offset_to_timedelta_negative(
      param, input_offset_parser
  ):
      input_offset, expected_error_message = param
  
      with pytest.raises(ValueError) as e:
          input_offset_parser.parse_offset_to_timedelta(input_offset)
  
      assert str(e.value) == expected_error_message
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/feature_store/feature_processor/test_input_offset_parser.py
imports: from __future__ import absolute_import
  from sagemaker.feature_store.feature_processor._input_offset_parser import InputOffsetParser
  from sagemaker.feature_store.feature_processor._constants import EXECUTION_TIME_PIPELINE_PARAMETER_FORMAT
  from datetime import datetime
  from dateutil.relativedelta import relativedelta
  import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_parse_offset_to_timedelta_negative(param, input_offset_parser) without return types