Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import future annotations in venv jinja template #40208

Merged
merged 12 commits into from
Jun 14, 2024
Prev Previous commit
Next Next commit
fix: allow test only airflow 2.10+
  • Loading branch information
phi-friday committed Jun 14, 2024
commit da9afe2d1c0b1e7a4c084f9e1b1be2b69cd07496
5 changes: 5 additions & 0 deletions tests/providers/docker/decorators/test_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,11 @@ def f():
def test_invalid_annotation(self, dag_maker):
import uuid

from tests.test_utils.compat import AIRFLOW_V_2_10_PLUS

if not AIRFLOW_V_2_10_PLUS:
pytest.skip("This test is only for Airflow 2.10+")

unique_id = uuid.uuid4().hex
value = {"unique_id": unique_id}

Expand Down
Loading