Skip to content

Commit 56e871a

Browse files
AleksMatcopybara-github
authored andcommitted
fix: Enable tests for Python 3.13
PiperOrigin-RevId: 855191213
1 parent b814aab commit 56e871a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

tests/unit/aiplatform/test_logdir_loader.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525

2626
import pytest
2727

28-
if sys.version_info >= (3, 13):
29-
pytest.skip("Tensorflow not available for Python 3.13+", allow_module_level=True)
28+
if sys.version_info >= (3, 14):
29+
pytest.skip(
30+
"Tensorflow not available for Python 3.14+", allow_module_level=True
31+
)
3032

3133
from google.cloud.aiplatform.tensorboard import logdir_loader
3234
import tensorflow as tf

tests/unit/aiplatform/test_uploader_utils.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@
2424

2525
import pytest
2626

27-
if sys.version_info >= (3, 13):
28-
pytest.skip("Tensorboard not available for Python 3.13+", allow_module_level=True)
27+
if sys.version_info >= (3, 14):
28+
pytest.skip(
29+
"Tensorboard not available for Python 3.14+", allow_module_level=True
30+
)
2931

3032
from google.cloud.aiplatform.tensorboard import uploader_utils
3133

0 commit comments

Comments
 (0)