Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion airflow-core/src/airflow/utils/dag_cycle_tester.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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()
Expand Down