Skip to content

Commit 50fb218

Browse files
committed
Modify fixture tf_full_py_version to return py310 in case of tf>=2.12
1 parent 684e953 commit 50fb218

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,9 @@ def tf_full_py_version(tf_full_version):
526526
return "py37"
527527
if version < Version("2.8"):
528528
return "py38"
529-
return "py39"
529+
if version < Version("2.12"):
530+
return "py39"
531+
return "py310"
530532

531533

532534
@pytest.fixture(scope="module")

0 commit comments

Comments
 (0)