Skip to content

Commit 7921c49

Browse files
Dev-iLAbhijeet Raj Singh
authored andcommitted
Breeze: Fix cache test for supported Python versions (apache#63589)
1 parent 011cd75 commit 7921c49

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dev/breeze/tests/test_cache.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
import pytest
2323

24+
from airflow_breeze.global_constants import ALLOWED_PYTHON_MAJOR_MINOR_VERSIONS
2425
from airflow_breeze.utils.cache import (
2526
check_if_cache_exists,
2627
check_if_values_allowed,
@@ -36,7 +37,7 @@
3637
[
3738
("backend", "mysql", (True, ["sqlite", "mysql", "postgres", "none", "custom"]), None),
3839
("backend", "xxx", (False, ["sqlite", "mysql", "postgres", "none", "custom"]), None),
39-
("python_major_minor_version", "3.10", (True, ["3.10", "3.11", "3.12", "3.13"]), None),
40+
("python_major_minor_version", "3.10", (True, ALLOWED_PYTHON_MAJOR_MINOR_VERSIONS), None),
4041
("missing", "value", None, AttributeError),
4142
],
4243
)

0 commit comments

Comments
 (0)