code: def test_reschedule_mode_not_allowed(self):
      with pytest.raises(ValueError):
          S3KeysUnchangedSensor(
              task_id="sensor_2",
              bucket_name="test-bucket",
              prefix="test-prefix/path",
              poke_interval=0.1,
              mode="reschedule",
              dag=self.dag,
          )
  
imports: from __future__ import annotations
  from datetime import datetime
  from unittest import mock
  import pytest
  import time_machine
  from airflow.exceptions import AirflowException, AirflowSkipException
  from airflow.models import DAG, DagRun, TaskInstance
  from airflow.models.variable import Variable
  from airflow.providers.amazon.aws.sensors.s3 import S3KeySensor, S3KeysUnchangedSensor
  from airflow.utils import timezone
label_desc: Use image node_id 2 for calling the TestS3KeysUnchangedSensor obj's underlying member method code with example usage: obj.test_reschedule_mode_not_allowed() without return types