From 80dae745c6710024d72544e013bb5efebba9c36a Mon Sep 17 00:00:00 2001 From: kalyanr Date: Wed, 5 Nov 2025 07:03:37 +0530 Subject: [PATCH 1/2] fix typo --- airflow-core/src/airflow/utils/dag_cycle_tester.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow-core/src/airflow/utils/dag_cycle_tester.py b/airflow-core/src/airflow/utils/dag_cycle_tester.py index 91a266e63c261..eb1035cadf81c 100644 --- a/airflow-core/src/airflow/utils/dag_cycle_tester.py +++ b/airflow-core/src/airflow/utils/dag_cycle_tester.py @@ -24,7 +24,7 @@ from airflow.sdk.definitions.dag import DAG warnings.warn( - "`airflow.utils.dag_cycle_tester` module is deprecated and and will be removed in a future release." + "`airflow.utils.dag_cycle_tester` module is deprecated and will be removed in a future release." "Please use `dag.check_cycle()` method instead.", DeprecationWarning, stacklevel=2, From 9e53b0ff96b3e09180a69e36dc941a40e3c4cefa Mon Sep 17 00:00:00 2001 From: kalyanr Date: Wed, 5 Nov 2025 07:04:28 +0530 Subject: [PATCH 2/2] fix typo --- .../cncf/kubernetes/executors/test_kubernetes_executor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/executors/test_kubernetes_executor.py b/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/executors/test_kubernetes_executor.py index d076fef3baeff..05c5771795655 100644 --- a/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/executors/test_kubernetes_executor.py +++ b/providers/cncf/kubernetes/tests/unit/cncf/kubernetes/executors/test_kubernetes_executor.py @@ -1257,7 +1257,7 @@ def test_cleanup_stuck_queued_tasks(self, mock_kube_dynamic_client, dag_maker, c """ This verifies legacy behavior. Remove when removing ``cleanup_stuck_queued_tasks``. - It's expected that that method, ``cleanup_stuck_queued_tasks`` will patch the pod + It's expected that method, ``cleanup_stuck_queued_tasks`` will patch the pod such that it is ignored by watcher, delete the pod, remove from running set, and fail the task. @@ -1311,7 +1311,7 @@ def test_cleanup_stuck_queued_tasks(self, mock_kube_dynamic_client, dag_maker, c @mock.patch("airflow.providers.cncf.kubernetes.executors.kubernetes_executor.DynamicClient") def test_revoke_task(self, mock_kube_dynamic_client, dag_maker, create_dummy_dag, session): """ - It's expected that that ``revoke_tasks`` will patch the pod + It's expected that ``revoke_tasks`` will patch the pod such that it is ignored by watcher, delete the pod and remove from running set. """ mock_kube_client = mock.MagicMock()