raphaelauv commented on code in PR #41047:
URL: https://github.com/apache/airflow/pull/41047#discussion_r1702323089


##########
tests/sensors/test_external_task_sensor.py:
##########
@@ -30,14 +30,25 @@
 
 from airflow import exceptions, settings
 from airflow.decorators import task as task_deco
-from airflow.exceptions import AirflowException, AirflowSensorTimeout, 
AirflowSkipException, TaskDeferred
+from airflow.exceptions import (
+    AirflowException,
+    AirflowPokeFailException,
+    AirflowSensorTimeout,
+    AirflowSkipException,
+    TaskDeferred,
+)
 from airflow.models import DagBag, DagRun, TaskInstance
 from airflow.models.dag import DAG
 from airflow.models.serialized_dag import SerializedDagModel
 from airflow.models.xcom_arg import XComArg
 from airflow.operators.bash import BashOperator
 from airflow.operators.empty import EmptyOperator
 from airflow.operators.python import PythonOperator
+from tests.test_utils.compat import AIRFLOW_V_2_10_PLUS, 
ignore_provider_compatibility_error
+
+with ignore_provider_compatibility_error("2.10.0", __file__):

Review Comment:
   thank you for the explanation , that mean `@pytest.mark.skipif(not 
AIRFLOW_V_2_10_PLUS` is not doing what I expect , I'm going to try to apply 
your instruction



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to