guan404ming commented on code in PR #49339:
URL: https://github.com/apache/airflow/pull/49339#discussion_r2055204208


##########
devel-common/src/tests_common/test_utils/markers.py:
##########
@@ -21,7 +21,14 @@
 
 import pytest
 
+from tests_common.test_utils.version_compat import AIRFLOW_V_3_0_PLUS
+
 skip_if_force_lowest_dependencies_marker = pytest.mark.skipif(
     os.environ.get("FORCE_LOWEST_DEPENDENCIES", "") == "true",
     reason="When lowest dependencies are set only some providers are loaded",
 )
+
+skip_if_not_airflow_3_marker = pytest.mark.skipif(
+    not AIRFLOW_V_3_0_PLUS,
+    reason="Airflow 2 had a different implementation",
+)

Review Comment:
   Hi @eladkal, I thought I got a better way to skip the test. I use importlib 
to detect whether the polars is installed and skip the test if there is no 
polars installed.



-- 
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]

Reply via email to