Skip to content

Commit b68a810

Browse files
authored
fix: Fix ci unit-tests (#4713)
1 parent c48d7c8 commit b68a810

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/conftest.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ def mxnet_eia_latest_py_version():
253253

254254
@pytest.fixture(scope="module", params=["py2", "py3"])
255255
def pytorch_training_py_version(pytorch_training_version, request):
256-
if Version(pytorch_training_version) >= Version("2.0"):
256+
if Version(pytorch_training_version) >= Version("2.3"):
257+
return "py311"
258+
elif Version(pytorch_training_version) >= Version("2.0"):
257259
return "py310"
258260
elif Version(pytorch_training_version) >= Version("1.13"):
259261
return "py39"

0 commit comments

Comments
 (0)