code: def not_expected_tr_db_call():
      def side_effect(*args, **kwargs):
          raise SystemError(
              "Not expected DB call to `TaskReschedule` statement."
          )
  
      with patch(
          "airflow.models.taskreschedule.TaskReschedule.stmt_for_task_instance"
      ) as m:
          m.side_effect = side_effect
          yield m
  
imports: from __future__ import annotations
  from datetime import timedelta
  from unittest.mock import patch
  import pytest
  import time_machine
  from slugify import slugify
  from airflow.models.taskreschedule import TaskReschedule
  from airflow.ti_deps.dep_context import DepContext
  from airflow.ti_deps.deps.ready_to_reschedule import ReadyToRescheduleDep
  from airflow.utils import timezone
  from airflow.utils.session import create_session
  from airflow.utils.state import State
  from tests.test_utils import db
label_desc: Use image node_id 1 for calling a global function with example usage: not_expected_tr_db_call() without return types