This is an automated email from the ASF dual-hosted git repository.
uranusjr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new e1ed4d5f5a0 Fix docstring typos (#57840)
e1ed4d5f5a0 is described below
commit e1ed4d5f5a02cc0b48dd3206252664cb758b98b7
Author: Kalyan R <[email protected]>
AuthorDate: Wed Nov 5 07:41:34 2025 +0530
Fix docstring typos (#57840)
---
airflow-core/src/airflow/utils/dag_cycle_tester.py | 2 +-
.../tests/unit/cncf/kubernetes/executors/test_kubernetes_executor.py | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/airflow-core/src/airflow/utils/dag_cycle_tester.py
b/airflow-core/src/airflow/utils/dag_cycle_tester.py
index 91a266e63c2..eb1035cadf8 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 @@ if TYPE_CHECKING:
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,
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 d076fef3bae..05c57717956 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 @@ class TestKubernetesExecutor:
"""
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 @@ class TestKubernetesExecutor:
@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()