Commit 6e3118a 1 parent be2e48e commit 6e3118a Copy full SHA for 6e3118a
File tree 2 files changed +2
-3
lines changed
contributing-docs/testing
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1184,10 +1184,10 @@ are not part of the public API. We deal with it in one of the following ways:
1184
1184
1185
1185
.. code-block:: python
1186
1186
1187
- from tests.test_utils.compat import AIRFLOW_V_2_7_PLUS
1187
+ from tests.test_utils.compat import AIRFLOW_V_2_8_PLUS
1188
1188
1189
1189
1190
- @pytest.mark.skipif(not AIRFLOW_V_2_7_PLUS , reason=" The tests should be skipped for Airflow < 2.7 " )
1190
+ @pytest.mark.skipif(not AIRFLOW_V_2_8_PLUS , reason=" The tests should be skipped for Airflow < 2.8 " )
1191
1191
def some_test_that_only_works_for_airflow_2_7_plus():
1192
1192
pass
1193
1193
Original file line number Diff line number Diff line change 42
42
from airflow import __version__ as airflow_version
43
43
44
44
AIRFLOW_VERSION = Version (airflow_version )
45
- AIRFLOW_V_2_7_PLUS = Version (AIRFLOW_VERSION .base_version ) >= Version ("2.7.0" )
46
45
AIRFLOW_V_2_8_PLUS = Version (AIRFLOW_VERSION .base_version ) >= Version ("2.8.0" )
47
46
AIRFLOW_V_2_9_PLUS = Version (AIRFLOW_VERSION .base_version ) >= Version ("2.9.0" )
48
47
AIRFLOW_V_2_10_PLUS = Version (AIRFLOW_VERSION .base_version ) >= Version ("2.10.0" )
You can’t perform that action at this time.
0 commit comments