Skip to content

Commit a69fb80

Browse files
matthew29tangcopybara-github
authored andcommitted
chore: Fix failing test skip decorator
PiperOrigin-RevId: 830693017
1 parent ed53c69 commit a69fb80

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/unit/aiplatform/test_vision_models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import os
2424
import tempfile
2525
from typing import Any, Dict, Literal, Optional, Tuple
26-
import unittest
2726
from unittest import mock
2827

2928
from google.cloud import aiplatform
@@ -773,7 +772,7 @@ def test_edit_image_with_capability_mode(self):
773772
"reference_image_control_config_4"
774773
] == str(control_config)
775774

776-
@unittest.skip(reason="b/295946075 The service stopped supporting image sizes.")
775+
@pytest.mark.skip(reason="b/295946075 The service stopped supporting image sizes.")
777776
def test_generate_images_requests_square_images_by_default(self):
778777
"""Tests that the model class generates square image by default."""
779778
model = self._get_image_generation_model()

0 commit comments

Comments
 (0)