ephraimbuddy commented on code in PR #54505:
URL: https://github.com/apache/airflow/pull/54505#discussion_r2555729813
##########
airflow-core/tests/unit/models/test_taskinstance.py:
##########
@@ -2567,7 +2567,7 @@ def fail():
)
ti =
dag_maker.create_dagrun(logical_date=timezone.utcnow()).task_instances[0]
ti.task = task
- with contextlib.suppress(AirflowException):
+ with contextlib.suppress(AirflowFailException):
Review Comment:
The right exception is AirflowFailException which I found out while
deprecating AirflowException in core. Since AirflowException is not deprecated
anymore, I have returned it back here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]